/* Blog post styles */

/* App showcase section */
.app-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 1.25rem;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.app-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.app-item img {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-item p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.5rem 0 1rem;
  color: #333;
}

.app-item .btn {
  min-width: 80px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.app-item .btn:hover {
  transform: scale(1.05);
}

/* App highlight sections */
.app-highlight {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.app-icon {
  width: 70px;
  height: 70px;
  margin-right: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-info {
  flex: 1;
}

.app-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.app-download {
  margin-top: 0.75rem;
}

.app-download .btn {
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.app-download .btn:hover {
  transform: scale(1.05);
}

/* App grid style */
.app-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.app-card img {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-card p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.5rem 0 1rem;
  color: #333;
}

.app-card .btn {
  min-width: 80px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.app-card .btn:hover {
  transform: scale(1.05);
}

/* App banner */
.app-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  margin: 2.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.app-banner img {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* CTA section */
.app-cta {
  text-align: center;
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* Image galleries */
.app-image-row {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  justify-content: space-evenly;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.app-image-row::-webkit-scrollbar {
  height: 6px;
}

.app-image-row::-webkit-scrollbar-track {
  background: transparent;
}

.app-image-row::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.app-image-row img {
  height: 300px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.app-image-row img:hover {
  transform: scale(1.02);
}

/* App benefits grid */
.app-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0066cc;
  background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Full width screenshots */
img.full-width-screenshot {
  max-width: 100%;
  border-radius: 16px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

img.full-width-screenshot:hover {
  transform: scale(1.01);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .app-highlight {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .app-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .app-section {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    grid-template-columns: none;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }

  .app-section::-webkit-scrollbar {
    height: 6px;
  }

  .app-section::-webkit-scrollbar-track {
    background: transparent;
  }

  .app-section::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }

  .app-card {
    min-width: 130px;
    flex: 0 0 auto;
  }

  .app-card img,
  .app-item img {
    width: 75px;
    height: 75px;
  }

  .app-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .app-image-row img {
    height: 250px;
  }

  .app-showcase {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
  }
}

/* Before/After Comparison */
.before-after-comparison {
  display: flex;
  gap: 2rem;
  margin: 2.5rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.comparison-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.comparison-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

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

.comparison-caption {
  font-weight: 600;
  color: #555;
  font-size: 1rem;
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .before-after-comparison {
    flex-direction: column;
    gap: 2rem;
  }

  .comparison-item {
    width: 100%;
  }

  .comparison-image {
    max-width: 100%;
  }
}

/* Adding new CSS at the end of the file for the update note and comparison table */

/* Update Note */
.update-note {
  background-color: #f8f9fa;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.update-note h3 {
  color: #856404;
  margin-top: 0;
  font-size: 1.1rem;
}

.update-note i {
  margin-right: 8px;
}

.update-note p {
  margin-bottom: 0;
}

.update-note a {
  color: #0056b3;
  text-decoration: underline;
}

/* Comparison Table */
.comparison-table {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.comparison-column {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comparison-column h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.comparison-column p {
  font-style: italic;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .comparison-table {
    flex-direction: column;
  }

  .comparison-column {
    width: 100%;
  }
}
