/* Dynamic Executive Homepage Styles */

/* Hero Section with Advanced Visual Effects */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2563eb 100%);
}

/* Advanced Background Effects */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(59, 130, 246, 0.05) 25%,
    rgba(29, 78, 216, 0.1) 50%,
    rgba(37, 99, 235, 0.05) 75%,
    rgba(59, 130, 246, 0.1) 100%
  );
  animation: gradientShift 10s ease-in-out infinite;
}

.hero-mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(29, 78, 216, 0.25) 0%, transparent 50%);
  animation: meshFloat 15s ease-in-out infinite;
}

/* Particle System */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.particle:nth-child(odd) {
  background: rgba(59, 130, 246, 0.4);
  width: 3px;
  height: 3px;
}

.particle:nth-child(3n) {
  background: rgba(37, 99, 235, 0.3);
  width: 2px;
  height: 2px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-animation-wrapper {
  text-align: center;
}

/* Enhanced Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.badge-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-icon {
  color: #3b82f6;
  animation: pulse 2s infinite;
}

/* Dynamic Hero Title */
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-accent {
  /* Solid bright accent — high contrast on the dark navy hero.
     (A gradient clipped with background-clip:text rendered invisibly here,
     so we use a plain color for reliability.) */
  color: #5cc8ff;
  position: relative;
}

.typing-text {
  position: relative;
}

.typing-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: #38bdf8;
  margin-left: 4px;
}

/* Enhanced Subtitle */
.hero-subtitle {
  font-size: 1.375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Animated Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  min-width: 180px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Enhanced Action Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.hero-cta::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;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

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

.hero-cta:hover .btn-shine {
  transform: translateX(100%);
}

.hero-secondary {
  position: relative;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.btn-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.hero-secondary:hover .btn-hover-bg {
  width: 100%;
}

.hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Trust Indicators */
.hero-trust {
  text-align: center;
}

.trust-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
  font-weight: 500;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trust-badge svg {
  color: #3b82f6;
}

/* Floating Elements */
.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  color: rgba(59, 130, 246, 0.2);
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* MAIN CONTENT SECTIONS STYLING */

/* Container and Layout */
.main-content {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Value Proposition Section */
.value-section {
  background: #ffffff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-radius: 16px;
  margin-bottom: 24px;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.value-description {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Solutions Showcase Section */
.solutions-section {
  background: #f8fafc;
}

.wave-pattern {
  position: relative;
}

.wave-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.solutions-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.solution-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.solution-feature--reverse {
  direction: rtl;
}

.solution-feature--reverse > * {
  direction: ltr;
}

.solution-visual {
  position: relative;
}

.solution-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.solution-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.solution-image:hover img {
  transform: scale(1.05);
}

.solution-content {
  padding: 20px 0;
}

.solution-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.solution-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #64748b;
  font-weight: 500;
}

.solution-features li::before {
  content: '?';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.solution-link:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1e293b;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
}

.author-title {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 4px;
}

.author-company {
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}

/* Insights Section */
.insights-section {
  background: #f8fafc;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.insight-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  padding: 32px;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border-color: #3b82f6;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.insight-date {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.insight-readtime {
  color: #94a3b8;
  font-size: 12px;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
}

.insight-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.insight-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.insight-title a:hover {
  color: #2563eb;
}

.insight-excerpt {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.insight-author {
  margin-bottom: 20px;
}

.author-name {
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.insight-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

.insights-cta {
  text-align: center;
  margin-top: 48px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-base {
  padding: 12px 24px;
  font-size: 16px;
}

.btn-icon {
  margin-left: 4px;
}

/* Animation Keyframes */
@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes meshFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(-10px); }
  50% { transform: translateX(-5px) translateY(5px); }
  75% { transform: translateX(5px) translateY(10px); }
}

@keyframes particleFloat {
  from {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  to {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

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

/* Entrance Animations */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }
.delay-800 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Background Utilities */
.bg-gray-50 {
  background-color: #f9fafb;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .trust-indicators {
    gap: 16px;
  }
  
  .solution-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .solution-feature--reverse {
    direction: ltr;
  }
  
  .solutions-showcase {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .stat-card {
    min-width: 160px;
    padding: 24px 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .trust-indicators {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .floating-element {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-badge {
    padding: 10px 20px;
  }
  
  .badge-text {
    font-size: 12px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .value-card {
    padding: 32px 24px;
  }
  
  .testimonial-card {
    padding: 32px 24px;
  }
  
  .insight-card {
    padding: 24px;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-background *,
  .floating-element,
  .particle {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .typing-text::after {
    animation: none;
  }
}