/* ═══════════════════════════════════════════════════════════════════
   MIKROM Commerce — E-Commerce Marketplace page styles
   Extends /css/styles.css (shared tokens must already be loaded)
═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --ec-green:    #22c55e;
  --ec-emerald:  #10b981;
  --ec-green-dk: #15803d;
  --ec-muted:    rgba(34,197,94,.12);
  --ec-glow:     rgba(34,197,94,.18);
}

/* ── Utility buttons ─────────────────────────────────────────────*/
.ec-btn--primary {
  background: linear-gradient(135deg, var(--ec-green), var(--ec-emerald));
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 20px var(--ec-glow);
  transition: opacity .2s, box-shadow .2s, transform .15s;
}
.ec-btn--primary:hover {
  opacity: .9;
  box-shadow: 0 6px 28px rgba(34,197,94,.35);
  transform: translateY(-1px);
}

/* ── Tags ─────────────────────────────────────────────────────── */
.ec-tag          { background: var(--ec-muted); color: var(--ec-green); }
.ec-tag--green   { background: rgba(34,197,94,.12);   color: #22c55e; }
.ec-tag--emerald { background: rgba(16,185,129,.12);  color: #10b981; }
.ec-tag--blue    { background: rgba(59,130,246,.12);  color: #3b82f6; }
.ec-tag--teal    { background: rgba(20,184,166,.12);  color: #14b8a6; }
.ec-tag--orange  { background: rgba(249,115,22,.12);  color: #f97316; }
.ec-tag--rose    { background: rgba(244,63,94,.12);   color: #f43f5e; }
.ec-tag--purple  { background: rgba(168,85,247,.12);  color: #a855f7; }
.ec-tag--amber   { background: rgba(245,158,11,.12);  color: #f59e0b; }

/* ── HERO ─────────────────────────────────────────────────────── */
.ec-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #030d06 0%, #041a0b 55%, #030d06 100%);
  padding: 120px 0 80px;
}
.ec-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(34,197,94,.07) 0%, transparent 70%);
}
.ec-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.ec-hero__glow.g1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(34,197,94,.18) 0%, transparent 70%);
  top: -120px; right: -100px;
}
.ec-hero__glow.g2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%);
  bottom: -60px; left: 10%;
}
.ec-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.ec-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem; font-weight: 600;
  color: var(--ec-green); letter-spacing: .02em;
  margin-bottom: 20px;
}
.ec-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.ec-gradient-text {
  background: linear-gradient(135deg, var(--ec-green), var(--ec-emerald));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ec-hero__sub {
  font-size: 1.08rem; line-height: 1.7;
  color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 32px;
}
.ec-hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px;
}
.ec-hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.ec-trust {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 7px 13px;
  font-size: .8rem; color: rgba(255,255,255,.75);
}
.ec-trust i { color: var(--ec-green); font-size: .95rem; }

/* ── Dashboard Mock ───────────────────────────────────────────── */
.ec-dashboard-mock {
  background: #030d06;
  border: 1px solid rgba(34,197,94,.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(34,197,94,.12);
}
.ec-dashboard-mock .mock-topbar {
  background: #020c04;
  border-bottom-color: rgba(34,197,94,.15);
}
.ec-dashboard-mock .mock-sidebar {
  background: #020a04;
  border-right-color: rgba(34,197,94,.12);
}
.ec-val { color: var(--ec-green) !important; }
.ec-bar-active { background: var(--ec-green) !important; }
.mock-bar { background: rgba(34,197,94,.3); border-radius: 3px 3px 0 0; transition: height .3s; }

/* ── Stats strip ─────────────────────────────────────────────── */
.ec-stats {
  background: #030d06;
  border-top: 1px solid rgba(34,197,94,.12);
  border-bottom: 1px solid rgba(34,197,94,.12);
  padding: 28px 0;
}
.ec-stat { border-color: rgba(34,197,94,.15) !important; }
.ec-stat strong { color: var(--ec-green) !important; }

/* ── Feature icon colours ─────────────────────────────────────── */
.ec-icon--green   { background: rgba(34,197,94,.12)   !important; color: #22c55e !important; }
.ec-icon--emerald { background: rgba(16,185,129,.12)  !important; color: #10b981 !important; }
.ec-icon--blue    { background: rgba(59,130,246,.12)  !important; color: #3b82f6 !important; }
.ec-icon--teal    { background: rgba(20,184,166,.12)  !important; color: #14b8a6 !important; }
.ec-icon--orange  { background: rgba(249,115,22,.12)  !important; color: #f97316 !important; }
.ec-icon--rose    { background: rgba(244,63,94,.12)   !important; color: #f43f5e !important; }
.ec-icon--purple  { background: rgba(168,85,247,.12)  !important; color: #a855f7 !important; }
.ec-icon--amber   { background: rgba(245,158,11,.12)  !important; color: #f59e0b !important; }

/* ── Pricing featured card ───────────────────────────────────── */
.erp-price-card--ec-featured {
  border-color: var(--ec-green) !important;
  background: linear-gradient(180deg, rgba(34,197,94,.07) 0%, rgba(16,185,129,.04) 100%);
  position: relative;
}
.ec-price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ec-green), var(--ec-emerald));
  color: #fff; font-size: .75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── CTA section ─────────────────────────────────────────────── */
.ec-cta {
  background: linear-gradient(150deg, #030d06 0%, #05180a 60%, #030d06 100%) !important;
  position: relative;
}
.ec-cta__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(34,197,94,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Form select ─────────────────────────────────────────────── */
.cform select {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; color: #fff;
  font-size: .95rem; appearance: auto;
}
.cform select option { background: #030d06; }
.cform select:focus { outline: none; border-color: var(--ec-green); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ec-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .ec-hero__visual { order: -1; }
  .ec-dashboard-mock { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .ec-hero { padding: 100px 0 60px; }
  .ec-hero__title { font-size: 2rem; }
  .ec-hero__actions { flex-direction: column; }
  .ec-hero__trust { flex-direction: column; }
}
