/* =====================================================
   AJIN SMART DISTRIBUTION PLATFORM
   Fisherman - Admin - Warehouse
   ===================================================== */

.distribution-page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(34, 203, 224, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #061824 0%, #09364a 56%, #087085 100%);
}

.distribution-page-banner::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.distribution-page-banner .banner-content {
  position: relative;
  z-index: 1;
}

.distribution-page-banner h2 {
  margin-top: 12px;
}

.distribution-page-banner p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  word-break: keep-all;
}

.distribution-banner-label,
.distribution-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid rgba(0, 177, 209, 0.26);
  border-radius: 999px;
  background: rgba(0, 157, 187, 0.08);
  color: #087f98;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.distribution-banner-label {
  border-color: rgba(112, 230, 243, 0.35);
  background: rgba(31, 193, 218, 0.12);
  color: #83eff8;
}

.distribution-content-section {
  overflow: hidden;
}

.distribution-intro {
  padding: 26px 0 8px;
}

.distribution-intro-heading,
.distribution-flow-heading {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.distribution-intro-heading h3,
.distribution-flow-heading h3,
.distribution-benefit-copy h3 {
  margin: 16px 0 0;
  color: #102f46;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

.distribution-intro-heading p,
.distribution-flow-heading p,
.distribution-benefit-copy p {
  margin: 18px 0 0;
  color: #526a7b;
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
}

.distribution-role-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.distribution-role-card {
  display: flex;
  gap: 16px;
  min-height: 158px;
  padding: 24px;
  border: 1px solid rgba(26, 111, 161, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 60, 88, 0.07);
}

.distribution-role-number {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008ec1, #11ad99);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.distribution-role-card strong {
  display: block;
  color: #123a55;
  font-size: 18px;
  font-weight: 800;
}

.distribution-role-card p {
  margin: 9px 0 0;
  color: #5e7382;
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.distribution-role-section {
  margin-top: 64px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(33, 128, 187, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 166, 224, 0.12),
      transparent 38%
    ),
    linear-gradient(145deg, #f7fbfe 0%, #ffffff 62%, #f3f9fc 100%);
  box-shadow: 0 20px 52px rgba(16, 55, 82, 0.1);
}

.fisherman-section {
  border-color: rgba(22, 150, 181, 0.2);
}

.admin-section {
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(0, 138, 205, 0.12),
      transparent 38%
    ),
    linear-gradient(145deg, #f6fafd 0%, #ffffff 62%, #f1f7fb 100%);
}

.warehouse-section {
  border-color: rgba(20, 158, 112, 0.2);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(24, 184, 132, 0.11),
      transparent 38%
    ),
    linear-gradient(145deg, #f7fcfa 0%, #ffffff 62%, #f1faf6 100%);
}

.distribution-role-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.distribution-role-copy {
  max-width: 810px;
}

.distribution-role-copy h3 {
  margin: 15px 0 0;
  color: #102f46;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

.distribution-role-copy p {
  margin: 15px 0 0;
  color: #526a7b;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.distribution-role-badge {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 128px;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
}

.distribution-role-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.distribution-role-badge strong {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 900;
}

.fisherman-badge {
  border: 1px solid rgba(4, 154, 179, 0.23);
  background: rgba(4, 174, 197, 0.08);
}

.fisherman-badge span {
  color: #62818a;
}

.fisherman-badge strong {
  color: #087f96;
}

.admin-badge {
  border: 1px solid rgba(0, 132, 197, 0.23);
  background: rgba(0, 141, 204, 0.08);
}

.admin-badge span {
  color: #647d8d;
}

.admin-badge strong {
  color: #0475a6;
}

.warehouse-badge {
  border: 1px solid rgba(17, 154, 111, 0.24);
  background: rgba(22, 168, 122, 0.08);
}

.warehouse-badge span {
  color: #628075;
}

.warehouse-badge strong {
  color: #087d5d;
}

.distribution-screen-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.43fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.distribution-screen-figure {
  margin: 0;
}

.fisherman-figure {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
}

.distribution-screen-frame {
  overflow: hidden;
  border: 1px solid rgba(0, 181, 216, 0.35);
  border-radius: 18px;
  background: #07161d;
  box-shadow:
    0 18px 44px rgba(0, 31, 53, 0.22),
    0 0 0 5px rgba(0, 164, 197, 0.05);
}

.fisherman-frame {
  max-height: 820px;
}

.admin-frame {
  border-color: rgba(0, 174, 226, 0.36);
}

.warehouse-frame {
  border-color: rgba(60, 218, 167, 0.35);
  box-shadow:
    0 18px 44px rgba(0, 39, 34, 0.2),
    0 0 0 5px rgba(29, 177, 131, 0.05);
}

.distribution-screen-image {
  display: block;
  width: 100%;
  height: auto;
}

.fisherman-image {
  width: 100%;
}

.distribution-screen-figure figcaption {
  margin-top: 17px;
  color: #667b8b;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}

.distribution-feature-list {
  display: grid;
  gap: 14px;
}

.distribution-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(24, 118, 154, 0.15);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
}

.distribution-feature-item > span {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #008ebd, #13ad9a);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.distribution-feature-item strong {
  display: block;
  color: #0b7087;
  font-size: 16px;
  font-weight: 800;
}

.distribution-feature-item p {
  margin: 6px 0 0;
  color: #5e7280;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.distribution-grid-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.distribution-grid-features article {
  min-height: 160px;
  padding: 22px 20px;
  border: 1px solid rgba(29, 112, 162, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.distribution-grid-features article > span {
  display: block;
  margin-bottom: 10px;
  color: #00a0c6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.distribution-grid-features strong {
  display: block;
  color: #0a638b;
  font-size: 17px;
  font-weight: 800;
}

.distribution-grid-features p {
  margin: 9px 0 0;
  color: #5d7180;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.warehouse-section .distribution-grid-features article > span {
  color: #0ba273;
}

.warehouse-section .distribution-grid-features strong {
  color: #08785a;
}

.distribution-flow-section {
  margin-top: 64px;
  padding: 54px 44px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow:
    0 16px 44px rgba(16, 55, 82, 0.08),
    inset 0 0 0 1px rgba(22, 117, 166, 0.16);
}

.distribution-flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.distribution-flow-item {
  position: relative;
  min-height: 218px;
  padding: 20px 15px;
  border: 1px solid rgba(21, 113, 158, 0.14);
  border-radius: 15px;
  background: #f8fbfd;
  text-align: center;
}

.distribution-flow-item:not(:last-child)::after {
  position: absolute;
  top: 35px;
  right: -10px;
  z-index: 2;
  color: #00a3c7;
  content: "›";
  font-size: 24px;
  font-weight: 900;
}

.distribution-flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin-bottom: 11px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.fisherman-flow .distribution-flow-number {
  background: linear-gradient(135deg, #0794ad, #1bbbad);
}

.admin-flow .distribution-flow-number {
  background: linear-gradient(135deg, #007aaf, #00a6ce);
}

.warehouse-flow .distribution-flow-number {
  background: linear-gradient(135deg, #078660, #1ebc83);
}

.distribution-flow-item small {
  display: block;
  margin-bottom: 7px;
  color: #66808e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.distribution-flow-item strong {
  display: block;
  color: #123e59;
  font-size: 15px;
  font-weight: 800;
}

.distribution-flow-item p {
  margin: 9px 0 0;
  color: #627684;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.distribution-benefit-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  margin-top: 64px;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 201, 230, 0.17),
      transparent 34%
    ),
    linear-gradient(135deg, #061b2a 0%, #0b3449 100%);
}

.distribution-benefit-copy h3 {
  color: #ffffff;
}

.distribution-benefit-copy p {
  color: #c0d2dc;
}

.distribution-benefit-section .distribution-section-label {
  border-color: rgba(100, 225, 255, 0.28);
  background: rgba(37, 186, 219, 0.11);
  color: #77e6fb;
}

.distribution-benefit-list {
  display: grid;
  gap: 12px;
}

.distribution-benefit-list div {
  padding: 18px 20px;
  border: 1px solid rgba(122, 220, 240, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.distribution-benefit-list strong,
.distribution-benefit-list span {
  display: block;
}

.distribution-benefit-list strong {
  color: #6ce5f6;
  font-size: 16px;
  font-weight: 800;
}

.distribution-benefit-list span {
  margin-top: 6px;
  color: #c1d2db;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.distribution-contact-box {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .distribution-role-summary,
  .distribution-grid-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .distribution-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .distribution-flow-item:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .distribution-role-section {
    padding: 38px 28px;
  }

  .distribution-screen-layout {
    grid-template-columns: 1fr;
  }

  .distribution-benefit-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 30px;
  }
}

@media (max-width: 720px) {
  .distribution-role-summary,
  .distribution-grid-features {
    grid-template-columns: 1fr;
  }

  .distribution-role-heading {
    flex-direction: column;
    gap: 20px;
  }

  .distribution-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .distribution-flow-item:nth-child(3)::after {
    display: block;
  }

  .distribution-flow-item:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .distribution-intro {
    padding-top: 12px;
  }

  .distribution-intro-heading h3,
  .distribution-flow-heading h3,
  .distribution-benefit-copy h3 {
    font-size: 27px;
  }

  .distribution-intro-heading p,
  .distribution-flow-heading p,
  .distribution-benefit-copy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .distribution-role-card {
    min-height: auto;
    padding: 20px 17px;
  }

  .distribution-role-section {
    margin-top: 42px;
    padding: 30px 16px;
    border-radius: 19px;
  }

  .distribution-role-copy h3 {
    font-size: 27px;
  }

  .distribution-role-copy p {
    font-size: 15px;
  }

  .distribution-screen-frame {
    border-radius: 11px;
  }

  .distribution-screen-figure figcaption {
    font-size: 13px;
    text-align: left;
  }

  .distribution-feature-item {
    padding: 17px 15px;
  }

  .distribution-grid-features {
    gap: 10px;
    margin-top: 22px;
  }

  .distribution-grid-features article {
    min-height: auto;
    padding: 19px 17px;
  }

  .distribution-flow-section {
    margin-top: 42px;
    padding: 34px 16px;
    border-radius: 19px;
  }

  .distribution-flow-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .distribution-flow-item {
    min-height: auto;
    padding: 19px 16px;
  }

  .distribution-flow-item::after {
    display: none !important;
  }

  .distribution-benefit-section {
    margin-top: 42px;
    padding: 32px 19px;
    border-radius: 19px;
  }
}

