/* SELL TO US PAGE */

.sell-hero {
  width: min(1240px, calc(100% - 36px));
  margin: 34px auto 0;
  min-height: 500px;
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 223, 60, 0.24), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(244, 63, 63, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 48%, #143c8f 100%);
  box-shadow: var(--shadow);
  color: white;
  padding: 58px 64px;
}

.sell-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.sell-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -160px;
  top: -180px;
  border-radius: 999px;
  border: 38px solid rgba(255,255,255,0.075);
  box-shadow: inset 0 0 0 30px rgba(255,255,255,0.035);
}

.sell-hero-copy,
.sell-hero-side {
  position: relative;
  z-index: 2;
}

.sell-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 9px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 223, 60, 0.14);
  border: 1px solid rgba(255, 223, 60, 0.36);
  color: #fff0a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sell-hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
}

.sell-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #dce8ff;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.sell-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.sell-hero-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.2s ease;
}

.sell-hero-button:hover {
  transform: translateY(-3px);
}

.sell-hero-button.primary {
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: #172033;
  box-shadow: 0 16px 30px rgba(255, 184, 46, 0.26);
}

.sell-hero-button.secondary {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}

.sell-hero-note {
  max-width: 560px;
  margin-top: 28px;
  padding: 15px 17px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6efff;
  line-height: 1.55;
  font-size: 14px;
}

.sell-hero-note span {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(244, 63, 63, 0.18);
}

.sell-hero-side {
  display: flex;
  justify-content: center;
}

.sell-hero-card {
  width: 100%;
  max-width: 430px;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,223,60,0.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,245,255,0.94));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}

.sell-hero-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -72px;
  bottom: -88px;
  border-radius: 999px;
  background: rgba(40, 107, 216, 0.10);
}

.hero-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-chip {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.mini-chip.red {
  background: rgba(244,63,63,0.14);
  color: #c92d2d;
}

.mini-chip.yellow {
  background: rgba(255,184,46,0.18);
  color: #9f6500;
}

.hero-main-stat {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-main-stat div {
  padding: 20px;
  border-radius: 24px;
  background: rgba(7, 20, 47, 0.05);
  border: 1px solid rgba(40, 107, 216, 0.16);
  text-align: center;
}

.hero-main-stat strong {
  display: block;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.hero-main-stat span {
  display: block;
  margin-top: 6px;
  color: #5e6a80;
  font-size: 14px;
  font-weight: 700;
}

.hero-card-text {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: #5d6a80 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 650 !important;
}


/* GENERIC SECTION */

.section-heading {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 22px;
}

.section-heading h2 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
  color: #59677e;
  line-height: 1.65;
  font-weight: 500;
}


/* BREAKDOWN GRAPHIC */

.trade-breakdown {
  width: min(1240px, calc(100% - 36px));
  margin: 52px auto 0;
}

.breakdown-graphic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.graphic-card {
  min-height: 270px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(40, 107, 216, 0.24);
  box-shadow:
    0 18px 44px rgba(7, 20, 47, 0.13),
    0 4px 14px rgba(40, 107, 216, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}

.graphic-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -42px;
  bottom: -42px;
  border-radius: 999px;
  background: rgba(40,107,216,0.07);
}

.graphic-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}

.graphic-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.05;
}

.graphic-card ul {
  margin: 0;
  padding-left: 18px;
}

.graphic-card li {
  color: #5f6c82;
  margin-bottom: 10px;
  line-height: 1.55;
  font-weight: 600;
}

.red-card .graphic-icon {
  background: rgba(244,63,63,0.14);
  color: #c92d2d;
}

.yellow-card .graphic-icon {
  background: rgba(255,184,46,0.18);
  color: #9f6500;
}

.green-card .graphic-icon {
  background: rgba(38, 170, 100, 0.16);
  color: #0d8b48;
}

.blue-card .graphic-icon {
  background: rgba(40,107,216,0.14);
  color: #1b57ba;
}

.red-card {
  border-top: 6px solid #ef4444;
}

.yellow-card {
  border-top: 6px solid #f5b52f;
}

.green-card {
  border-top: 6px solid #1db163;
}

.blue-card {
  border-top: 6px solid #2b6de0;
}


/* STEPS */

.trade-steps {
  width: min(1240px, calc(100% - 36px));
  margin: 70px auto 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 92%, rgba(40, 107, 216, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(40, 107, 216, 0.24);
  box-shadow:
    0 18px 44px rgba(7, 20, 47, 0.13),
    0 4px 14px rgba(40, 107, 216, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 62px rgba(7, 20, 47, 0.18),
    0 8px 20px rgba(40, 107, 216, 0.11),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 18px;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.step-card p {
  margin: 0;
  color: #66758a;
  line-height: 1.65;
  font-weight: 500;
}


/* DETAILS */

.trade-details {
  width: min(1240px, calc(100% - 36px));
  margin: 70px auto 0;
}

.details-card {
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 14%, rgba(255,223,60,0.22), transparent 22%),
    linear-gradient(135deg, #ffffff, #f2f5fa);
  border: 1px solid rgba(40, 107, 216, 0.26);
  box-shadow:
    0 22px 58px rgba(7, 20, 47, 0.13),
    0 6px 18px rgba(40, 107, 216, 0.07),
    inset 0 1px 0 rgba(255,255,255,0.9);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.details-left h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.details-left p {
  margin: 0;
  color: #59677e;
  line-height: 1.65;
  font-weight: 500;
}

.details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: 1px solid rgba(40, 107, 216, 0.22);
  box-shadow: 0 10px 24px rgba(7,20,47,0.06);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.4;
}


/* CTA */

.trade-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 70px auto 76px;
}

.trade-cta-card {
  padding: 38px;
  border-radius: 38px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,223,60,0.34), transparent 26%),
    linear-gradient(135deg, #ffffff, #edf4ff);
  border: 1px solid rgba(40, 107, 216, 0.30);
  box-shadow:
    0 28px 76px rgba(7, 20, 47, 0.20),
    0 8px 22px rgba(40, 107, 216, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.trade-cta-card h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.trade-cta-card p {
  max-width: 760px;
  margin: 0;
  color: #59677e;
  line-height: 1.65;
  font-weight: 500;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .breakdown-graphic,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 950px) {
  .sell-hero {
    grid-template-columns: 1fr;
    padding: 48px 34px;
  }

  .sell-hero-side {
    justify-content: stretch;
  }

  .sell-hero-card {
    max-width: none;
  }

  .trade-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .sell-hero,
  .trade-breakdown,
  .trade-steps,
  .trade-details,
  .trade-cta,
  .section-heading {
    width: calc(100% - 24px);
  }

  .sell-hero {
    margin-top: 22px;
    border-radius: 30px;
    padding: 38px 22px;
  }

  .sell-hero h1 {
    font-size: clamp(42px, 14vw, 64px);
    letter-spacing: -2px;
  }

  .sell-hero p {
    font-size: 16px;
  }

  .sell-hero-actions {
    display: grid;
  }

  .sell-hero-button {
    width: 100%;
  }

  .hero-main-stat {
    grid-template-columns: 1fr;
  }

  .breakdown-graphic,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .details-card,
  .trade-cta-card {
    padding: 24px;
    border-radius: 28px;
  }

  .graphic-card,
  .step-card {
    border-radius: 22px;
  }
}
