/* ==============================
   Popo Lab - Custom Styles
   ============================== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Header shadow when scrolled */
#site-header.scrolled {
  box-shadow: 0 4px 20px -8px rgba(45, 36, 30, 0.15);
}

/* Tab buttons */
.view-tab-btn {
  color: #7A6E65;
}
.view-tab-btn.active {
  background-color: #E69B5D;
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(230, 155, 93, 0.5);
}

/* View panel transition */
.view-panel {
  animation: fadeInUp 0.5s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero background blob */
.hero-blob {
  background:
    radial-gradient(circle at 15% 20%, rgba(230, 155, 93, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(253, 236, 219, 0.9) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(230, 155, 93, 0.15) 0%, transparent 50%);
}

/* Product card */
.product-card {
  background-color: #FDECDB;
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(230, 155, 93, 0.15);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -12px rgba(230, 155, 93, 0.4);
}
.product-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background-color: rgba(45, 36, 30, 0.06);
  color: #7A6E65;
}

/* Download button */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 9999px;
  background-color: #E69B5D;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.download-btn:hover {
  background-color: #D4834A;
  transform: translateY(-2px);
}

/* Vision stat card */
.vision-stat {
  background-color: #FAF3E8;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 6px 16px -8px rgba(45, 36, 30, 0.1);
}

/* Business card */
.business-card {
  background-color: #FDECDB;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(230, 155, 93, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -14px rgba(230, 155, 93, 0.35);
}
.business-card-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.1rem;
  background-color: rgba(230, 155, 93, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Company profile table */
.profile-row {
  border-bottom: 1px solid rgba(230, 155, 93, 0.15);
}
.profile-row:last-child {
  border-bottom: none;
}
.profile-row th {
  text-align: left;
  vertical-align: top;
  padding: 1.1rem 1.25rem;
  width: 32%;
  font-weight: 700;
  color: #2D241E;
  background-color: rgba(230, 155, 93, 0.08);
}
.profile-row td {
  padding: 1.1rem 1.25rem;
  color: #7A6E65;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .profile-row {
    display: flex;
    flex-direction: column;
  }
  .profile-row th, .profile-row td {
    width: 100%;
    padding: 0.85rem 1.1rem;
  }
  .profile-row th {
    padding-bottom: 0.4rem;
  }
}

/* Footer links */
.footer-link {
  color: rgba(250, 243, 232, 0.7);
  font-weight: 600;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}
.footer-link:hover {
  color: #E69B5D;
}
