/* ==========================================================================
   Packaging Material Page Styles
   Prefix: pm-
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --pm-dark: #1a1a2e;
  --pm-orange: #ea6425;
  --pm-orange-light: #fff4ed;
  --pm-gray-50: #f9fafb;
  --pm-gray-100: #f3f4f6;
  --pm-gray-200: #e5e7eb;
  --pm-gray-400: #9ca3af;
  --pm-gray-600: #4b5563;
  --pm-gray-900: #111827;
  --pm-radius: 12px;
}

/* ---------- Scroll Margin ---------- */
[id^="pm-"] {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   1. Hero
   ========================================================================== */
.pm-hero {
  background: var(--pm-dark);
  padding: 120px 0 80px;
  text-align: center;
}

.pm-hero__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pm-orange);
  font-weight: 600;
  margin-bottom: 16px;
}

.pm-hero__title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 20px;
}

.pm-hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.pm-hero__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.pm-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--pm-orange);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.pm-hero__btn-primary:hover {
  background: #d55a1f;
  transform: translateY(-2px);
}

.pm-hero__btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.pm-hero__btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.pm-hero__trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-hero__trust-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.pm-hero__trust-item strong {
  color: #fff;
}

/* ==========================================================================
   2. Problem Section
   ========================================================================== */
.pm-problem {
  background: #fff;
  padding: 80px 0;
}

.pm-problem__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-problem__card {
  background: var(--pm-gray-50);
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  padding: 32px;
}

.pm-problem__card-icon {
  width: 56px;
  height: 56px;
  background: var(--pm-orange-light);
  border-radius: var(--pm-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pm-problem__card-icon .mdi {
  font-size: 28px;
  color: var(--pm-orange);
}

.pm-problem__card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pm-dark);
  margin-bottom: 8px;
}

.pm-problem__card-text {
  font-size: 15px;
  color: var(--pm-gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   3. Material Types
   ========================================================================== */
.pm-types {
  background: var(--pm-gray-50);
  padding: 80px 0;
}

.pm-types__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-type-card {
  background: #fff;
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.pm-type-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pm-type-card__visual {
  height: 200px;
  background: var(--pm-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-type-card__visual .mdi {
  font-size: 64px;
  color: var(--pm-gray-400);
}

.pm-type-card__body {
  padding: 24px;
}

.pm-type-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--pm-dark);
  margin-bottom: 8px;
}

.pm-type-card__desc {
  font-size: 15px;
  color: var(--pm-gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   4. Why Prozo
   ========================================================================== */
.pm-why {
  background: #fff;
  padding: 80px 0;
}

.pm-why__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-why__card {
  background: #fff;
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pm-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pm-why__card-icon {
  width: 48px;
  height: 48px;
  background: var(--pm-orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pm-why__card-icon .mdi {
  font-size: 24px;
  color: var(--pm-orange);
}

.pm-why__card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--pm-dark);
  margin-bottom: 6px;
}

.pm-why__card-desc {
  font-size: 14px;
  color: var(--pm-gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   5. WMS Integration — Hero Feature
   ========================================================================== */
.pm-wms {
  background: var(--pm-dark);
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 0
  );
  background-size: 32px 32px;
  padding: 80px 0;
  position: relative;
}

.pm-wms__header {
  text-align: center;
  margin-bottom: 56px;
}

.pm-wms__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pm-orange);
  font-weight: 600;
}

.pm-wms__title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

.pm-wms__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

.pm-wms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pm-wms__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pm-radius);
  padding: 28px;
  transition: background 0.3s, border-color 0.3s;
}

.pm-wms__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.pm-wms__card-icon {
  width: 44px;
  height: 44px;
  background: rgba(234, 100, 37, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pm-wms__card-icon .mdi {
  font-size: 22px;
  color: var(--pm-orange);
}

.pm-wms__card-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.pm-wms__card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.pm-wms__footer {
  text-align: center;
  margin-top: 40px;
}

.pm-wms__footer-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ==========================================================================
   6. Stats Section
   ========================================================================== */
.pm-stats {
  background: #fff;
  padding: 80px 0;
}

.pm-stats__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pm-stat {
  text-align: center;
  padding: 32px 16px;
}

.pm-stat__number {
  font-size: 56px;
  font-weight: 800;
  color: var(--pm-orange);
  line-height: 1;
}

.pm-stat__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--pm-dark);
  margin-top: 8px;
}

.pm-stat__sub {
  font-size: 13px;
  color: var(--pm-gray-400);
  margin-top: 4px;
}

/* ==========================================================================
   7. Vendor Network
   ========================================================================== */
.pm-vendor {
  background: var(--pm-gray-50);
  padding: 80px 0;
}

.pm-vendor__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-vendor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-vendor__card {
  background: #fff;
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  padding: 28px;
  text-align: center;
}

.pm-vendor__card-icon {
  width: 56px;
  height: 56px;
  background: var(--pm-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pm-vendor__card-icon .mdi {
  font-size: 28px;
  color: var(--pm-orange);
}

.pm-vendor__card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--pm-dark);
  margin-bottom: 8px;
}

.pm-vendor__card-text {
  font-size: 14px;
  color: var(--pm-gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   8. Process / How It Works
   ========================================================================== */
.pm-process {
  background: #fff;
  padding: 80px 0;
}

.pm-process__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-process__steps {
  display: flex;
  gap: 0;
  position: relative;
  justify-content: center;
}

.pm-process__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--pm-gray-200);
  z-index: 0;
}

.pm-process__step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pm-process__step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--pm-orange);
}

.pm-process__step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pm-dark);
  margin-bottom: 6px;
}

.pm-process__step-desc {
  font-size: 13px;
  color: var(--pm-gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   9. Commercials / Pricing
   ========================================================================== */
.pm-pricing {
  background: var(--pm-gray-50);
  padding: 80px 0;
}

.pm-pricing__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 48px;
}

.pm-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-pricing__card {
  background: #fff;
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  padding: 28px;
  text-align: center;
}

.pm-pricing__card-icon {
  width: 48px;
  height: 48px;
  background: var(--pm-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pm-pricing__card-icon .mdi {
  font-size: 24px;
  color: var(--pm-orange);
}

.pm-pricing__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--pm-dark);
}

.pm-pricing__card-desc {
  font-size: 14px;
  color: var(--pm-gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   11. Integration Value Prop
   ========================================================================== */
.pm-integration {
  background: var(--pm-dark);
  padding: 80px 0;
  text-align: center;
}

.pm-integration__title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.pm-integration__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin: 0 auto 48px;
}

.pm-integration__flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.pm-integration__flow-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.pm-integration__flow-arrow {
  color: rgba(255, 255, 255, 0.3);
  font-size: 20px;
}

.pm-integration__points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pm-integration__point {
  text-align: center;
}

.pm-integration__point-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.pm-integration__point-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   12. CTA
   ========================================================================== */
.pm-cta {
  background: var(--pm-orange);
  padding: 60px 0;
  text-align: center;
}

.pm-cta__title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.pm-cta__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pm-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.pm-cta__btn-primary {
  padding: 14px 32px;
  background: #fff;
  color: var(--pm-orange);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.pm-cta__btn-primary:hover {
  background: var(--pm-gray-50);
  transform: translateY(-2px);
}

.pm-cta__btn-outline {
  padding: 14px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.pm-cta__btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.pm-faq {
  background: #fff;
  padding: 80px 0;
}

.pm-faq__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--pm-dark);
  text-align: center;
  margin-bottom: 40px;
}

.pm-faq__list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.pm-faq__item {
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.pm-faq__item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--pm-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm-faq__item summary::-webkit-details-marker {
  display: none;
}

.pm-faq__item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--pm-gray-400);
  font-weight: 400;
  transition: 0.2s;
}

.pm-faq__item[open] summary::after {
  content: "\2212";
}

.pm-faq__item[open] summary {
  border-bottom: 1px solid var(--pm-gray-200);
}

.pm-faq__item dd,
.pm-faq__item p {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--pm-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   14. Footnote
   ========================================================================== */
.pm-footnote {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--pm-gray-400);
}

/* ==========================================================================
   16. Responsive — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .pm-problem__grid,
  .pm-types__grid,
  .pm-why__grid,
  .pm-vendor__grid,
  .pm-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-wms__grid {
    grid-template-columns: 1fr;
  }

  .pm-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-integration__points {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-hero__title,
  .pm-wms__title {
    font-size: 36px;
  }

  .pm-problem__title,
  .pm-types__title,
  .pm-why__title,
  .pm-stats__title,
  .pm-vendor__title,
  .pm-process__title,
  .pm-pricing__title,
  .pm-integration__title,
  .pm-faq__title {
    font-size: 30px;
  }
}

/* ==========================================================================
   16. Responsive — 768px
   ========================================================================== */
@media (max-width: 768px) {
  .pm-problem__grid,
  .pm-types__grid,
  .pm-why__grid,
  .pm-wms__grid,
  .pm-vendor__grid,
  .pm-pricing__grid {
    grid-template-columns: 1fr;
  }

  .pm-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-hero__title {
    font-size: 30px;
  }

  .pm-hero__btns {
    flex-direction: column;
    align-items: center;
  }

  .pm-process__steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .pm-process__steps::before {
    display: none;
  }

  .pm-integration__flow {
    flex-direction: column;
  }

  .pm-integration__flow-arrow {
    transform: rotate(90deg);
  }

  .pm-integration__points {
    grid-template-columns: 1fr;
  }

  .pm-hero,
  .pm-problem,
  .pm-types,
  .pm-why,
  .pm-wms,
  .pm-stats,
  .pm-vendor,
  .pm-process,
  .pm-pricing,
  .pm-integration,
  .pm-cta,
  .pm-faq {
    padding: 60px 0;
  }
}

/* ==========================================================================
   16. Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
  .pm-hero__title {
    font-size: 26px;
  }

  .pm-stat__number {
    font-size: 40px;
  }

  .pm-hero__trust {
    flex-direction: column;
    gap: 8px;
  }

  .pm-cta__btns {
    flex-direction: column;
  }
}
