/* Custom Styles for Danuk Studio - Featured App Spotlight & Services Grid */

.custom-section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .custom-section-padding {
    padding: 60px 0;
  }
}

/* Featured App Spotlight Card */
.featured-app-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  margin-bottom: 60px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

:root[color-scheme="light"] .featured-app-card {
  background: rgba(15, 15, 15, 0.015);
  border: 1px solid rgba(15, 15, 15, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
}

.featured-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

:root[color-scheme="light"] .featured-app-card::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
}

.featured-app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

:root[color-scheme="light"] .featured-app-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.featured-app-image-side {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.featured-app-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  max-width: 480px;
}

:root[color-scheme="light"] .featured-app-img-wrap {
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.featured-app-card:hover .featured-app-img-wrap {
  transform: scale(1.03) rotate(1deg);
}

.featured-app-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: filter 0.5s ease;
}

.featured-app-info-side {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-app-tag-container {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.featured-app-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
  transition: color 0.3s ease;
}

:root[color-scheme="light"] .featured-app-title {
  color: #111111;
}

.featured-app-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 28px;
  color: inherit;
}

.featured-app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.featured-app-features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
  opacity: 0.85;
}

.featured-app-features-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 11px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0.7;
}

.featured-app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Service capabilities highlights grid */
.services-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1199px) {
  .services-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-highlight-grid {
    grid-template-columns: 1fr;
  }
}

.service-highlight-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 35px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

:root[color-scheme="light"] .service-highlight-card {
  background: rgba(15, 15, 15, 0.008);
  border: 1px solid rgba(15, 15, 15, 0.03);
}

.service-highlight-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

:root[color-scheme="light"] .service-highlight-card:hover {
  background: rgba(15, 15, 15, 0.02);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  color: inherit;
}

:root[color-scheme="light"] .service-icon-wrap {
  background: rgba(15, 15, 15, 0.03);
}

.service-highlight-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.08);
}

:root[color-scheme="light"] .service-highlight-card:hover .service-icon-wrap {
  background: rgba(15, 15, 15, 0.06);
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-highlight-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
  transition: color 0.3s ease;
}

:root[color-scheme="light"] .service-highlight-title {
  color: #111111;
}

.service-highlight-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.75;
  margin: 0;
  color: inherit;
}

/* Responsiveness for flex columns on mobile */
@media (max-width: 991px) {
  .featured-app-card {
    flex-direction: column;
    padding: 35px;
    gap: 35px;
    border-radius: 24px;
  }
  .featured-app-image-side, .featured-app-info-side {
    width: 100%;
  }
  .featured-app-title {
    font-size: 2rem;
  }
}
