/* ============================================================
   Enterprise Features Page — ProShip
   Prefix: ef-
   ============================================================ */

:root {
  --ef-font: "Poppins", sans-serif;
  --ef-blue: #2f55d4;
  --ef-blue-light: #eef2ff;
  --ef-orange: #ea6425;
  --ef-dark: #1a1a2e;
  --ef-gray-50: #f9fafb;
  --ef-gray-100: #f3f4f6;
  --ef-gray-200: #e5e7eb;
  --ef-gray-400: #9ca3af;
  --ef-gray-600: #4b5563;
  --ef-gray-900: #111827;
  --ef-radius: 16px;
  --ef-radius-sm: 12px;
}

/* ── Hero ── */
.ef-hero {
  background: linear-gradient(135deg, var(--ef-dark) 0%, #0f172a 100%);
  padding: 120px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ef-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 100, 37, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ef-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

.ef-hero__title {
  font-family: var(--ef-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 720px;
}

.ef-hero__subtitle {
  font-family: var(--ef-font);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 0 40px;
}

.ef-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ef-font);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--ef-orange);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ef-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 100, 37, 0.35);
  color: #fff;
  text-decoration: none;
}

/* ── Overview Grid (6 features at a glance) ── */
.ef-overview {
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 2;
}

.ef-overview__inner {
  max-width: 1200px;
  margin: -48px auto 0;
  padding: 0 24px;
}

.ef-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--ef-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.ef-overview__item {
  padding: 32px 28px;
  border-right: 1px solid var(--ef-gray-100);
  border-bottom: 1px solid var(--ef-gray-100);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ef-overview__item:nth-child(3n) {
  border-right: none;
}

.ef-overview__item:nth-last-child(-n+3) {
  border-bottom: none;
}

.ef-overview__item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ef-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ef-blue);
  flex-shrink: 0;
}

.ef-overview__item-name {
  font-family: var(--ef-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--ef-gray-900);
  margin: 0 0 4px;
}

.ef-overview__item-desc {
  font-family: var(--ef-font);
  font-size: 13px;
  color: var(--ef-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* ── Feature Deep Dive (alternating left/right) ── */
.ef-feature {
  padding: 96px 0;
}

.ef-feature:nth-child(odd) {
  background: var(--ef-gray-50);
}

.ef-feature:nth-child(even) {
  background: #fff;
}

.ef-feature__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ef-feature:nth-child(even) .ef-feature__inner {
  direction: rtl;
}

.ef-feature:nth-child(even) .ef-feature__inner > * {
  direction: ltr;
}

.ef-feature__tag {
  display: inline-block;
  font-family: var(--ef-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ef-orange);
  margin-bottom: 12px;
}

.ef-feature__title {
  font-family: var(--ef-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--ef-gray-900);
  margin: 0 0 16px;
  line-height: 1.2;
}

.ef-feature__desc {
  font-family: var(--ef-font);
  font-size: 16px;
  color: var(--ef-gray-600);
  line-height: 1.7;
  margin: 0 0 28px;
}

.ef-feature__points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-feature__points li {
  font-family: var(--ef-font);
  font-size: 15px;
  color: var(--ef-gray-900);
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--ef-gray-100);
}

.ef-feature__points li:last-child {
  border-bottom: none;
}

.ef-feature__points li i {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Visual card for feature illustration */
.ef-feature__visual {
  background: var(--ef-dark);
  border-radius: var(--ef-radius);
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ef-feature__visual::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(47, 85, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ef-feature__visual-icon {
  font-size: 48px;
  color: var(--ef-orange);
  margin-bottom: 24px;
  display: block;
}

.ef-feature__visual-title {
  font-family: var(--ef-font);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.ef-feature__visual-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-feature__visual-items li {
  font-family: var(--ef-font);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ef-feature__visual-items li:last-child {
  border-bottom: none;
}

.ef-feature__visual-items li i {
  color: var(--ef-orange);
  font-size: 16px;
}

/* ── How They Fit Together ── */
.ef-stack {
  padding: 96px 0;
  background: var(--ef-dark);
  color: #fff;
}

.ef-stack__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.ef-stack__heading {
  font-family: var(--ef-font);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 12px;
}

.ef-stack__subheading {
  font-family: var(--ef-font);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 56px;
  max-width: 560px;
}

.ef-stack__flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.ef-stack__node {
  flex: 1;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius-sm);
  padding: 32px 20px;
  text-align: center;
  position: relative;
}

.ef-stack__node-icon {
  font-size: 32px;
  color: var(--ef-orange);
  margin-bottom: 12px;
  display: block;
}

.ef-stack__node-name {
  font-family: var(--ef-font);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.ef-stack__node-desc {
  font-family: var(--ef-font);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

.ef-stack__arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── FAQ ── */
.ef-faq {
  padding: 96px 0;
  background: var(--ef-gray-50);
}

.ef-faq__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.ef-faq__heading {
  font-family: var(--ef-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--ef-gray-900);
  text-align: center;
  margin: 0 0 48px;
}

.ef-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ef-faq__item {
  background: #fff;
  border: 1px solid var(--ef-gray-200);
  border-radius: var(--ef-radius-sm);
  overflow: hidden;
}

.ef-faq__q {
  font-family: var(--ef-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ef-gray-900);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ef-faq__q::-webkit-details-marker {
  display: none;
}

.ef-faq__q::after {
  content: "\F0140";
  font-family: "Material Design Icons";
  font-size: 22px;
  color: var(--ef-gray-400);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.ef-faq__item[open] .ef-faq__q::after {
  transform: rotate(180deg);
  color: var(--ef-blue);
}

.ef-faq__a {
  font-family: var(--ef-font);
  font-size: 15px;
  color: var(--ef-gray-600);
  line-height: 1.7;
  padding: 0 24px 20px;
  margin: 0;
}

/* ── CTA ── */
.ef-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ef-blue) 0%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
}

.ef-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.ef-cta__title {
  font-family: var(--ef-font);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
}

.ef-cta__text {
  font-family: var(--ef-font);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 32px;
}

.ef-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ef-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ef-blue);
  background: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ef-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--ef-blue);
  text-decoration: none;
}

/* ── Contact ── */
.ef-contact {
  padding: 96px 0;
  background: #fff;
}

.ef-contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .ef-hero__title {
    font-size: 40px;
  }

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

  .ef-overview__item:nth-child(3n) {
    border-right: 1px solid var(--ef-gray-100);
  }

  .ef-overview__item:nth-child(2n) {
    border-right: none;
  }

  .ef-overview__item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--ef-gray-100);
  }

  .ef-overview__item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .ef-feature__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ef-feature:nth-child(even) .ef-feature__inner {
    direction: ltr;
  }

  .ef-stack__flow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .ef-stack__node {
    max-width: none;
    flex: 1 1 calc(50% - 16px);
  }

  .ef-stack__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .ef-hero {
    padding: 100px 0 64px;
  }

  .ef-hero__title {
    font-size: 32px;
  }

  .ef-hero__subtitle {
    font-size: 16px;
  }

  .ef-overview__inner {
    margin-top: -32px;
  }

  .ef-overview__grid {
    grid-template-columns: 1fr;
  }

  .ef-overview__item {
    border-right: none !important;
    border-bottom: 1px solid var(--ef-gray-100) !important;
  }

  .ef-overview__item:last-child {
    border-bottom: none !important;
  }

  .ef-feature {
    padding: 64px 0;
  }

  .ef-feature__title {
    font-size: 26px;
  }

  .ef-feature__visual {
    padding: 36px 28px;
  }

  .ef-stack {
    padding: 64px 0;
  }

  .ef-stack__heading {
    font-size: 28px;
  }

  .ef-stack__node {
    flex: 1 1 100%;
  }

  .ef-faq {
    padding: 64px 0;
  }

  .ef-faq__heading {
    font-size: 28px;
  }

  .ef-cta__title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .ef-hero {
    padding: 88px 0 56px;
  }

  .ef-hero__title {
    font-size: 26px;
  }

  .ef-feature__title {
    font-size: 22px;
  }

  .ef-stack__heading {
    font-size: 24px;
  }

  .ef-cta {
    padding: 56px 0;
  }

  .ef-cta__title {
    font-size: 22px;
  }
}
