:root {
  --purple: #6b21a8;
  --purple-light: #f3eaff;
  --yellow: #ffbd00;
  --dark: #0f172a;
  --gray: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
}

.hero, .steps-section, .form-section, .ss-footer {
  font-family: "Inter", system-ui, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hero img, .steps-section img, .form-section img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,.88) 0%, rgba(107,33,168,.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  color: #fff;
  max-width: 620px;
}

.pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .03em;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .75rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.5rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.4rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,33,168,.18);
}

.btn-full { width: 100%; }

/* ─── STEPS ─── */
.steps-section {
  padding: 4.5rem 0;
  background: var(--purple-light);
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.07);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

.step h3 {
  color: var(--purple);
  margin-bottom: .3rem;
}

.step p {
  color: var(--gray);
  font-size: .9rem;
}

/* ─── FORM SECTION ─── */
.form-section {
  padding: 5rem 0;
  background: #fafbfc;
}

.form-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.form-side h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.form-side > p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.form-side ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.5rem;
}

.form-side li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  color: #334155;
}

.form-side li svg { color: var(--purple); flex-shrink: 0; }

.form-side-img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

/* ─── FORM CARD ─── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(0,0,0,.06);
}

.form-card label {
  display: block;
  margin-bottom: .85rem;
}

.lbl {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: .3rem;
}

.lbl em {
  font-style: normal;
  color: #ef4444;
}

.lbl small {
  color: #94a3b8;
  font-weight: 400;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .7rem .8rem;
  font-family: inherit;
  font-size: .9rem;
  color: #1e293b;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: #cbd5e1;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,.12);
}

.form-card input[type="file"] {
  padding: .55rem .6rem;
  background: #f8fafc;
  cursor: pointer;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: .78rem;
  margin-top: .5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.active { display: block; }

.form-success svg { margin: 0 auto 1rem; }

.form-success h3 {
  color: var(--purple);
  margin-bottom: .4rem;
}

.form-success p { color: var(--gray); }

/* ─── VALIDATION ─── */
.field-error {
  display: block;
  color: #ef4444;
  font-size: .75rem;
  margin-top: .2rem;
}

.field-invalid { border-color: #ef4444 !important; }
.field-valid   { border-color: #22c55e !important; }

/* ─── FOOTER ─── */
.ss-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 1.25rem 0;
  font-family: "Inter", system-ui, sans-serif;
}

.ss-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  width: min(1100px, 90%);
  margin: 0 auto;
}

.ss-footer a {
  color: var(--yellow);
  text-decoration: none;
}

/* ─── REVEALS ─── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
}

.reveal       { transform: translateY(20px); }
.reveal-left  { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }

.visible {
  opacity: 1;
  transform: none;
}

/* Full-width layout when embedded in main site (matches landing-page sell store) */
.sell-store-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.sell-store-page .wrap {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  padding-inline: 1.25rem;
}

.sell-store-page section {
  width: 100%;
}

.landing-page .wrap {
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .sell-store-page .wrap {
    width: 92%;
    padding-inline: 0;
  }

  .landing-page .wrap {
    padding-inline: 0;
  }
}

@media (min-width: 1024px) {
  .sell-store-page .wrap {
    width: 85%;
  }
}

@media (min-width: 1280px) {
  .sell-store-page .wrap {
    width: 80%;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 639px) {
  .sell-store-page .reveal-left,
  .sell-store-page .reveal-right,
  .landing-page .reveal-left,
  .landing-page .reveal-right {
    transform: translateY(20px);
  }
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }

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

  .form-side-img { display: none; }

  .hero-inner { padding: 3.5rem 0; }

  .steps-section { padding: 3rem 0; }

  .form-section { padding: 3rem 0; }
}

@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }

  .ss-footer .footer-inner {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }
}

/* ─── DARK MODE ─── */
.dark .steps-section {
  background: #18181b;
}

.dark .hero,
.dark .steps-section,
.dark .form-section {
  color: #e4e4e7;
}

.dark .section-title {
  color: #b995e0;
}

.dark .step {
  background: #27272a;
  border-color: #3f3f46;
}

.dark .step:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.dark .step h3 {
  color: #b995e0;
}

.dark .step p {
  color: #a1a1aa;
}

.dark .form-section {
  background: #000000;
}

.dark .form-side h2 {
  color: #b995e0;
}

.dark .form-side > p,
.dark .form-side li {
  color: #a1a1aa;
}

.dark .form-card {
  background: #27272a;
  border-color: #3f3f46;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

.dark .lbl {
  color: #d4d4d8;
}

.dark .lbl small {
  color: #71717a;
}

.dark .form-card input,
.dark .form-card select,
.dark .form-card textarea {
  background: #18181b;
  border-color: #3f3f46;
  color: #f4f4f5;
}

.dark .form-card input::placeholder,
.dark .form-card textarea::placeholder {
  color: #71717a;
}

.dark .form-card input[type="file"] {
  background: #18181b;
}

.dark .form-card input:focus,
.dark .form-card select:focus,
.dark .form-card textarea:focus {
  border-color: #9767d1;
  box-shadow: 0 0 0 3px rgba(151, 103, 209, 0.2);
}

.dark .form-note,
.dark .form-success p {
  color: #a1a1aa;
}

.dark .form-success h3 {
  color: #b995e0;
}

.dark .form-success svg {
  stroke: #b995e0;
}
