/* ==========================================================================
   Elevaan Network — Become a Seller page
   Matches homepage theme: #002b80 hero, soft cards, section rhythm
   ========================================================================== */

/* ---- Hero (mirrors home .hero-card) ---- */

.seller-hero {
  padding: 0 0 20px;
}

.seller-hero-card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: var(--container-max);
  height: 380px;
  min-height: 380px;
  background: #002b80;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
}

.seller-hero-left {
  width: 42%;
  flex: 0 0 42%;
  height: 380px;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: #002b80;
  z-index: 2;
  box-sizing: border-box;
}

.seller-hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9eb6e8;
  margin: 0;
}

.seller-hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.seller-hero-text {
  font-size: 16px;
  font-weight: 400;
  color: #d7e0f2;
  max-width: 340px;
  margin: 4px 0 0;
  line-height: 1.55;
}

.seller-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.seller-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #0b1f4a;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid #fff;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.seller-hero-cta:hover {
  background: #f3f6fb;
  color: #002b80;
  transform: translateY(-1px);
}

.seller-hero-cta--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.seller-hero-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.seller-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.seller-hero-points li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e6ecfa;
}

.seller-hero-points li svg {
  flex-shrink: 0;
  color: #4ade80;
}

.seller-hero-right {
  position: relative;
  width: 58%;
  flex: 0 0 58%;
  height: 380px;
  overflow: hidden;
  background: #0b64f4;
}

.seller-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.seller-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.seller-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.seller-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.seller-hero-right .hero-arrow {
  z-index: 6;
}

.seller-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.seller-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.seller-hero-dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* ---- Sections ---- */

.seller-section {
  padding-bottom: 28px;
}

.seller-section .card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0 8px;
}

.seller-section .section-head {
  margin-bottom: 22px;
}

.seller-section .section-head h2 {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
}

.seller-section .link-more {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.seller-section .link-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seller-panel-card {
  padding-top: 8px;
}

.seller-panel-sub {
  margin: 8px 0 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

/* ---- Feature grid (Why Sell) ---- */

.seller-why-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0 12px;
}

.seller-why-head {
  margin-bottom: 28px;
  align-items: flex-start;
}

.seller-why-head h2 {
  margin: 0;
}

.seller-why-sub {
  margin: 8px 0 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

.seller-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.seller-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  background: var(--color-surface);
  border: none;
  border-radius: 0;
  padding: 28px 24px;
  box-shadow: none;
  overflow: visible;
}

.seller-feature::before {
  display: none;
}

.seller-feature:hover {
  background: var(--color-surface);
  box-shadow: none;
  transform: none;
}

.seller-feature:hover::before {
  opacity: 0;
}

.seller-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fdf1e6;
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: none;
}

.seller-feature:hover .seller-feature-icon {
  background: #fdf1e6;
  color: var(--color-orange);
  box-shadow: none;
}

.seller-feature-icon svg {
  width: 24px;
  height: 24px;
}

.seller-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.seller-feature h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1d;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.seller-feature p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---- Messaging pitch ---- */

.seller-message {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 28px 40px;
  align-items: stretch;
  padding: 8px 0 12px;
}

.seller-message-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
}

.seller-message-accent {
  color: #2563eb;
}

.seller-message-copy h2 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.seller-message-lead {
  margin: 0 0 18px;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
}

.seller-message-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.seller-message-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #1e293b;
}

.seller-message-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f172a;
}

.seller-message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.seller-message-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.15s ease;
}

.seller-message-wa:hover {
  background: #111827;
  color: #fff;
}

.seller-message-panel {
  background: #0f172a;
  color: #e2e8f0;
  padding: 28px 26px 30px;
  border: none;
  box-shadow: none;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.seller-message-panel-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.seller-message-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: msg-flow;
  flex: 1;
  align-content: start;
}

.seller-message-flow li {
  display: grid;
  gap: 4px;
  padding-left: 44px;
  position: relative;
  counter-increment: msg-flow;
}

.seller-message-flow li::before {
  content: counter(msg-flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seller-message-flow strong {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}

.seller-message-flow span {
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

/* ---- Category chips ---- */

.seller-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-message-actions .seller-hero-cta {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
}

.seller-message-actions .seller-hero-cta:hover {
  background: #111827;
  color: #fff;
  transform: none;
}

.seller-cta .seller-hero-cta,
#buyer-cta .seller-hero-cta {
  background: #fff;
  color: #0b1f4a;
  border: 2px solid #fff;
  border-radius: 999px;
}

.seller-cta .seller-hero-cta:hover,
#buyer-cta .seller-hero-cta:hover {
  background: #f3f6fb;
  color: #002b80;
  transform: translateY(-1px);
}

.buyer-rfq-btn {
  background: #ff6600;
  color: #fff;
  border: none;
}

.buyer-rfq-btn:hover {
  background: #ff6600;
  color: #fff;
}

.seller-chip-row a {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  background: #e8ebf0;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1d;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.seller-chip-row a:hover {
  border: none;
  color: #0f172a;
  background: #d9dee6;
}

/* ---- FAQ ---- */

.seller-faq-card {
  max-width: none;
}

.seller-faq-head {
  margin-bottom: 20px;
}

.seller-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
}

.seller-faq-item {
  background: #e8ebf0;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.seller-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seller-faq-item summary::-webkit-details-marker {
  display: none;
}

.seller-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.seller-faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.seller-faq-item[open] {
  background: #dfe3ea;
}

.seller-faq-item p {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.65;
  font-weight: 500;
}

.seller-faq-empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

/* ---- Bottom CTA (home navy) ---- */

.seller-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #002b80;
  border-radius: 0;
  padding: 40px 44px;
  color: #fff;
}

.seller-cta-copy {
  flex: 1;
  min-width: 0;
}

.seller-cta h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.seller-cta p {
  font-size: 15px;
  color: #d7e0f2;
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
}

.seller-cta-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.seller-cta-note {
  font-size: 13px;
  color: #b9c4de;
  margin: 0;
  text-align: right;
}

.seller-cta-note strong {
  color: #fff;
}

/* ---- Responsive ---- */

@media (max-width: 1000px) {
  .seller-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seller-message {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 800px) {
  main:has(> .seller-hero:first-child) {
    padding-top: 0;
  }

  .seller-hero {
    padding-bottom: 16px;
  }

  .seller-hero .container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .seller-hero-card {
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 0;
    max-width: none;
  }

  .seller-hero-left,
  .seller-hero-right {
    width: 100%;
    flex: none;
  }

  .seller-hero-left {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 32px 20px 28px;
    gap: 6px;
  }

  .seller-hero-eyebrow {
    font-size: 24px;
    line-height: 1.25;
  }

  .seller-hero-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .seller-hero-text {
    font-size: 15px;
    max-width: none;
    margin-top: 2px;
    line-height: 1.45;
  }

  .seller-hero-actions {
    margin-top: 12px;
  }

  .seller-hero-cta {
    padding: 9px 16px;
    font-size: 15px;
  }

  .seller-hero-points {
    margin-top: 10px;
    gap: 8px 14px;
  }

  .seller-hero-right {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  .seller-hero-dots {
    bottom: 10px;
  }

  .seller-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .seller-cta-actions {
    align-items: flex-start;
  }

  .seller-cta-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .seller-hero {
    padding-bottom: 14px;
  }

  .seller-hero-left {
    padding: 30px 16px 26px;
  }

  .seller-hero-eyebrow {
    font-size: 18px;
  }

  .seller-hero-title {
    font-size: 30px;
  }

  .seller-hero-text {
    font-size: 15px;
  }

  .seller-hero-right {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
  }

  .seller-hero-right .hero-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 640px) {
  .seller-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seller-why-card {
    padding: 4px 0 8px;
  }

  .seller-why-sub,
  .seller-panel-sub,
  .seller-message-lead {
    font-size: 14px;
  }

  .seller-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 20px;
  }

  .seller-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 14px;
  }

  .seller-feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .seller-feature h3 {
    font-size: 15px;
  }

  .seller-feature p {
    font-size: 13px;
  }

  .seller-message-copy h2 {
    font-size: 24px;
  }

  .seller-message-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-message-wa {
    justify-content: center;
  }

  .seller-message-panel {
    padding: 22px 18px 24px;
  }

  .seller-section .card {
    padding: 8px 0 4px;
  }

  .seller-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seller-hero-cta {
    justify-content: center;
  }
}
