/* Company Introduction Section Redesign */

/* Main container for the company intro section */
.company-intro {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0;
  overflow: hidden;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
}

/* Animated background effect */
.company-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 10s infinite;
  opacity: 0.6;
}

/* Shimmer animation for background */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Content layout using CSS Grid - Horizontal Layout for Cards and Images */
.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  justify-items: center;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

/* Text content area with new layout */
.intro-text {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main title styling */
.intro-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
}

/* Decorative underline for title */
.intro-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 2px;
}

/* Description text styling */
.intro-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Features and showcase container - New Layout */
.features-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Features grid layout - Enhanced */
.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
  max-width: 100%;
  width: 100%;
}

/* Individual feature item - Enhanced */
.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Feature hover effect - Enhanced */
.intro-feature:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Feature icon styling - Enhanced */
.intro-feature .feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  position: relative;
  z-index: 2;
}

/* Icon hover effect - Enhanced */
.intro-feature:hover .feature-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* Icon inside the feature icon */
.intro-feature .feature-icon i {
  font-size: 1.25rem;
  color: white;
  transition: transform 0.3s ease;
}

.intro-feature:hover .feature-icon i {
  transform: scale(1.1);
}

/* Feature content styling - Enhanced */
.intro-feature .feature-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.intro-feature:hover .feature-content h4 {
  color: #2563eb;
}

.intro-feature .feature-content p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  font-weight: 400;
  transition: color 0.3s ease;
}

.intro-feature:hover .feature-content p {
  color: #4b5563;
}

/* Animated background for feature cards */
.intro-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.intro-feature:hover::before {
  left: 100%;
}

/* Call to action area */
.intro-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* CTA button styling - Enhanced */
.intro-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

/* CTA button hover effect - Enhanced */
.intro-cta .cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* CTA button animated background */
.intro-cta .cta-button::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.6s ease;
}

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

/* Arrow icon animation */
.intro-cta .cta-button .arrow-icon {
  transition: transform 0.3s ease;
}

.intro-cta .cta-button:hover .arrow-icon {
  transform: translateX(4px);
}

/* Staggered animation for feature cards */
.intro-feature:nth-child(1) {
  animation: fadeInLeft 0.6s ease 0.1s forwards;
  opacity: 0;
}

.intro-feature:nth-child(2) {
  animation: fadeInLeft 0.6s ease 0.2s forwards;
  opacity: 0;
}

.intro-feature:nth-child(3) {
  animation: fadeInLeft 0.6s ease 0.3s forwards;
  opacity: 0;
}

.intro-feature:nth-child(4) {
  animation: fadeInLeft 0.6s ease 0.4s forwards;
  opacity: 0;
}

/* Fade in left animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Device showcase animation */
.device-showcase-enhanced {
  animation: fadeInRight 0.8s ease 0.5s forwards;
  opacity: 0;
}

/* Fade in right animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CTA button animation */
.intro-cta {
  animation: fadeInUp 0.6s ease 0.7s forwards;
  opacity: 0;
}

/* Enhanced floating animation for devices */
@keyframes enhancedFloat {
  0%, 100% { 
    transform: translateY(0) translateX(0) rotateY(0deg); 
  }
  25% { 
    transform: translateY(-10px) translateX(5px) rotateY(3deg); 
  }
  50% { 
    transform: translateY(-15px) translateX(-5px) rotateY(-3deg); 
  }
  75% { 
    transform: translateY(-8px) translateX(3px) rotateY(2deg); 
  }
}

/* Apply enhanced floating to device containers */
.pc-device-container {
  animation: enhancedFloat 8s ease-in-out infinite;
}

.mobile-device-container {
  animation: enhancedFloat 10s ease-in-out infinite reverse;
}

/* Trial note styling */
.trial-note {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
}

/* Device showcase area */
.intro-image {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Device showcase enhanced styling - New Layout */
.device-showcase.enhanced-layout {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-width: 100%;
}

/* Mac device styling */
.mac-device.modern-frame {
  position: absolute;
  z-index: 2;
  animation: floatMac 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Float animation for Mac device */
@keyframes floatMac {
  0%, 100% { transform: translateY(0) translateX(0) rotateY(0deg); }
  50% { transform: translateY(-20px) translateX(10px) rotateY(5deg); }
}

/* Mobile device styling */
.mobile-device.modern-frame {
  position: absolute;
  z-index: 3;
  animation: floatMobile 8s ease-in-out infinite;
  top: 200px;
  left: 60%;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Float animation for mobile device */
@keyframes floatMobile {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) rotateY(0deg); }
  50% { transform: translateY(-15px) translateX(-10px) rotate(2deg) rotateY(-5deg); }
}

/* Device frame styling */
.device-frame {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  padding: 20px;
  border-radius: 24px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

/* Device frame hover effect */
.device-frame:hover {
  transform: translateY(-10px) scale(1.02) rotateY(5deg);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Device screen styling */
.device-screen {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  box-shadow: 
    inset 0 0 20px rgba(0, 0, 0, 0.8),
    inset 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Mac screen specific styling */
.mac-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Mobile screen specific styling */
.mobile-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Device base for Mac */
.device-base {
  width: 150px;
  height: 8px;
  background: linear-gradient(90deg, #374151, #1f2937, #374151);
  border-radius: 0 0 8px 8px;
  margin: 10px auto 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Glowing effect for devices */
.device-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.device-frame:hover::before {
  opacity: 1;
}

/* Responsive Design */

/* Large Tablet Styles */
@media (max-width: 1024px) {
  .company-intro {
    padding: 100px 2rem;
    min-height: 650px;
  }
  
  .intro-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
    justify-items: center;
  }
  
  .intro-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .intro-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .intro-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
  }
  
  .intro-features {
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
  }
  
  .intro-feature {
    text-align: left;
    justify-content: flex-start;
  }
  
  .intro-cta {
    align-items: center;
    gap: 1rem;
  }
  
  .primary-btn, .secondary-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }
  
  .device-showcase.enhanced-layout {
    max-width: 450px;
    height: 380px;
  }
  
  .mobile-device.modern-frame {
    top: 190px;
    left: 65%;
  }
}

/* Tablet Styles */
@media (max-width: 768px) {
  .company-intro {
    padding: 80px 1.5rem;
    min-height: auto;
  }
  
  .intro-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    justify-items: center;
  }
  
  .intro-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }
  
  .intro-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .intro-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  
  .intro-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .intro-feature {
    text-align: left;
    justify-content: flex-start;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .intro-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .intro-cta {
    align-items: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .primary-btn, .secondary-btn {
    width: 80%;
    max-width: 250px;
    text-align: center;
    justify-content: center;
  }
  
  .device-showcase.enhanced-layout {
    max-width: 400px;
    height: 350px;
  }
  
  .mobile-device.modern-frame {
    top: 180px;
    left: 60%;
  }
  
  .device-frame {
    padding: 18px;
  }
}

/* Mobile Styles */
@media (max-width: 576px) {
  .company-intro {
    padding: 60px 1rem;
  }
  
  .intro-content {
    gap: 2.5rem;
    padding: 0 0.5rem;
  }
  
  .intro-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
  
  .intro-description {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  
  .intro-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .intro-feature {
    padding: 0.75rem;
    border-radius: 10px;
  }
  
  .intro-feature .feature-icon {
    width: 48px;
    height: 48px;
  }
  
  .intro-feature .feature-icon i {
    font-size: 1.25rem;
  }
  
  .intro-feature .feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  
  .intro-feature .feature-text p {
    font-size: 0.875rem;
  }
  
  .intro-cta {
    gap: 0.75rem;
  }
  
  .primary-btn, .secondary-btn {
    width: 90%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .device-showcase.enhanced-layout {
    max-width: 280px;
    height: 280px;
  }
  
  .device-frame {
    padding: 15px;
    border-radius: 18px;
  }
  
  .mac-device.modern-frame {
    animation: none;
    transform: scale(0.9);
  }
  
  .mobile-device.modern-frame {
    animation: none;
    top: 150px;
    left: 60%;
    transform: scale(0.9);
  }
  
  .device-base {
    width: 120px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .company-intro {
    padding: 50px 0.5rem;
    min-height: auto;
  }
  
  .intro-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .intro-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .intro-features {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .intro-feature {
    padding: 0.6rem;
    border-radius: 8px;
  }
  
  .intro-feature .feature-icon {
    width: 42px;
    height: 42px;
  }
  
  .intro-feature .feature-icon i {
    font-size: 1.1rem;
  }
  
  .intro-feature .feature-text h3 {
    font-size: 1rem;
  }
  
  .intro-feature .feature-text p {
    font-size: 0.8rem;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .device-showcase.enhanced-layout {
    max-width: 240px;
    height: 240px;
  }
  
  .device-frame {
    padding: 12px;
    border-radius: 16px;
  }
  
  .mac-device.modern-frame {
    transform: scale(0.8);
  }
  
  .mobile-device.modern-frame {
    top: 130px;
    left: 55%;
    transform: scale(0.8);
  }
  
  .device-base {
    width: 100px;
    height: 6px;
  }
}

/* Ultra Small Mobile Styles */
@media (max-width: 360px) {
  .company-intro {
    padding: 40px 0.25rem;
  }
  
  .intro-title {
    font-size: 1.5rem;
  }
  
  .intro-description {
    font-size: 0.85rem;
  }
  
  .intro-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .intro-feature .feature-icon {
    width: 36px;
    height: 36px;
  }
  
  .intro-feature .feature-icon i {
    font-size: 1rem;
  }
  
  .device-showcase.enhanced-layout {
    max-width: 200px;
    height: 200px;
  }
  
  .mac-device.modern-frame {
    transform: scale(0.7);
  }
  
  .mobile-device.modern-frame {
    top: 110px;
    left: 50%;
    transform: scale(0.7);
  }
  
  .device-base {
    width: 80px;
    height: 5px;
  }
}