/* ========================================
   FEATURES SECTION - Card-Based Design
   ======================================== */

.features-section {
  padding: 5rem 0;
  background: #fff;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header small {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.features-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.features-header hr {
  width: 60px;
  height: 3px;
  background: #4f46e5;
  border: none;
  margin: 0 auto;
  border-radius: 2px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Card */
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Feature Header: Icon + Title Side by Side */
.feature-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-title-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Feature Icon */
.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper.blue {
  background: #eff6ff;
}

.feature-icon-wrapper.gray {
  background: #f3f4f6;
}

.feature-icon-wrapper.purple {
  background: #f5f3ff;
}

.feature-icon-wrapper i {
  font-size: 1.5rem;
}

.feature-icon-wrapper.blue i {
  color: #3b82f6;
}

.feature-icon-wrapper.gray i {
  color: #6b7280;
}

.feature-icon-wrapper.purple i {
  color: #8b5cf6;
}

/* Feature Content */
.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;

}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.feature-subtitle {
  font-size: 0.875rem;
  font-weight: 300;
  color: #1b1d21;
  margin: 0;
  line-height: 1.5;
}

.feature-description {
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
  margin: 0 -2rem 1.5rem -2rem;
  padding: 0 2rem 1.5rem 2rem;
  line-height: 1.6;
  flex-grow: 1;
  border-bottom: 1px solid #e5e7eb;
}

/* Feature Screenshot */
.feature-screenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: auto;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

/* Responsive Design */
@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .features-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .features-section {
    padding: 3rem 0;
  }

  .features-header {
    margin-bottom: 2.5rem;
  }

  .features-header h2 {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-header {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .feature-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .feature-icon-wrapper i {
    font-size: 1.25rem;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .feature-subtitle {
    font-size: 0.9375rem;
  }

  .feature-description {
    font-size: 0.875rem;
    margin: 0 -1.5rem 1.5rem -1.5rem;
    padding: 0 1.5rem 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-section {
    padding: 2.5rem 0;
  }

  .features-header h2 {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .feature-description {
    margin: 0 -1.25rem 1.5rem -1.25rem;
    padding: 0 1.25rem 1rem 1.25rem;
  }
}

/* ========================================
   SHOWCASE FEATURES SECTION
   ======================================== */

.showcase-features-section {
  background: #ffffff;
  padding: 4rem 0;
}

.showcase-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.showcase-card:hover::before {
  opacity: 1;
}

.showcase-card-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.showcase-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover .showcase-icon-wrapper {
  transform: scale(1.08) rotate(-3deg);
}

.showcase-icon-wrapper i {
  font-size: 1.75rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-icon-wrapper i {
  transform: scale(1.1);
}

.showcase-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.showcase-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.showcase-card:hover .showcase-card-title {
  color: #1f2937;
}

.showcase-card-description {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.showcase-card:hover .showcase-card-description {
  color: #4b5563;
}

.showcase-card-image {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 2rem;
  margin: 0 1.5rem 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.showcase-card:hover .showcase-card-image {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.showcase-card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 2px solid rgba(79, 70, 229, 0.2);
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.showcase-card:hover .showcase-card-image img {
  transform: scale(1.02);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .showcase-features-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .showcase-features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .showcase-card-header {
    padding: 1.75rem 1.75rem 1.25rem;
  }

  .showcase-icon-wrapper {
    width: 56px;
    height: 56px;
  }

  .showcase-icon-wrapper i {
    font-size: 1.5rem;
  }

  .showcase-card-title {
    font-size: 1.125rem;
  }

  .showcase-card-description {
    font-size: 0.875rem;
  }

  .showcase-card-image {
    padding: 1.5rem;
    margin: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .showcase-features-section {
    padding: 3rem 0;
  }

  .showcase-features-grid {
    gap: 1.5rem;
  }

  .showcase-card-header {
    padding: 1.5rem 1.5rem 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .showcase-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
  }

  .showcase-icon-wrapper i {
    font-size: 1.75rem;
  }

  .showcase-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .showcase-card-header {
    padding: 1.25rem 1.25rem 0.875rem;
  }

  .showcase-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .showcase-icon-wrapper i {
    font-size: 1.5rem;
  }

  .showcase-card-title {
    font-size: 1.0625rem;
  }

  .showcase-card-image {
    padding: 1.25rem;
    margin: 0 1rem 1rem;
  }
}

/* ========================================
   ADVANCED CAPABILITIES SECTION (DARK THEME - HORIZONTAL LAYOUT)
   ======================================== */

.advanced-capabilities-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.advanced-capabilities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.advanced-subtitle {
  color: #94a3b8;
}

.advanced-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.advanced-card {
  background: rgb(30 41 59);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.advanced-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.advanced-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advanced-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.8);
}

.advanced-card:hover::before,
.advanced-card:hover::after {
  opacity: 1;
}

.advanced-icon-wrapper {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.advanced-card:hover .advanced-icon-wrapper {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
}

.advanced-icon-wrapper i {
  font-size: 1.875rem;
  color: #ffffff;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.advanced-card:hover .advanced-icon-wrapper i {
  transform: scale(1.1);
}

.advanced-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.advanced-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.advanced-card:hover .advanced-card-title {
  color: #ffffff;
}

.advanced-card-description {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.advanced-card:hover .advanced-card-description {
  color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .advanced-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .advanced-card {
    padding: 1.75rem;
    gap: 1.25rem;
  }

  .advanced-icon-wrapper {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .advanced-icon-wrapper i {
    font-size: 1.625rem;
  }

  .advanced-card-title {
    font-size: 1.125rem;
  }

  .advanced-card-description {
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .advanced-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .advanced-icon-wrapper {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .advanced-icon-wrapper i {
    font-size: 1.75rem;
  }

  .advanced-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .advanced-capabilities-section {
    padding: 3rem 0;
  }

  .advanced-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .advanced-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .advanced-icon-wrapper i {
    font-size: 1.5rem;
  }

  .advanced-card-title {
    font-size: 1.0625rem;
  }

  .advanced-card-description {
    font-size: 0.8125rem;
  }
}

/* ========================================
   COLLABORATION SECTION
   ======================================== */

.collaboration-section {
  background: #fafbfc;
  position: relative;
  overflow: hidden;
}

.collaboration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e7ff, transparent);
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.collaboration-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.collaboration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.collaboration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.collaboration-card:hover::before {
  opacity: 1;
}

.collaboration-card-inner {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.collaboration-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.collaboration-card:hover .collaboration-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.collaboration-icon-wrapper i {
  font-size: 2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.collaboration-card:hover .collaboration-icon-wrapper i {
  transform: scale(1.1);
}

.collaboration-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.collaboration-card:hover .collaboration-card-title {
  color: #111827;
}

.collaboration-card-description {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  transition: color 0.3s ease;
}

.collaboration-card:hover .collaboration-card-description {
  color: #4b5563;
}

/* Responsive Design */
@media (max-width: 991px) {
  .collaboration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .collaboration-card-inner {
    padding: 2rem 1.5rem;
  }

  .collaboration-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .collaboration-icon-wrapper i {
    font-size: 1.75rem;
  }
}

@media (max-width: 767px) {
  .collaboration-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .collaboration-card-inner {
    padding: 2rem 1.5rem;
  }

  .collaboration-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .collaboration-icon-wrapper i {
    font-size: 1.5rem;
  }

  .collaboration-card-title {
    font-size: 1.125rem;
  }

  .collaboration-card-description {
    font-size: 0.875rem;
  }

  .collaboration-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .collaboration-section {
    padding: 3rem 0;
  }

  .collaboration-card-inner {
    padding: 1.75rem 1.25rem;
  }

  .collaboration-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
  }

  .collaboration-card-title {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
  }
}