/* ==========================================================
   Lyst — Page Design System
   /public/assets/css/lyst.css
   ========================================================== */

/* ----------------------------------------------------------
   Page-level section spacing
   ---------------------------------------------------------- */
.lyst-page section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.lyst-page section.bg-light {
  padding-top: 56px;
  padding-bottom: 56px;
}

.lyst-page .lyst-comp-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ----------------------------------------------------------
   Tokens
   ---------------------------------------------------------- */
:root {
  --lyst-purple:     #F507E2;
  --lyst-purple-dk:  #9B0090;
  --lyst-purple-lt:  #fde8fc;
  --lyst-magenta:    #F507E2;
  --lyst-magenta-lt: #fde8fc;
  --lyst-text-muted: #666;
  --lyst-border:     rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------------
   Hero badge & proof metrics
   ---------------------------------------------------------- */
.lyst-hero-badge {
  display: inline-block;
  background: var(--lyst-purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.lyst-proof-bar {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--lyst-border);
  flex-wrap: nowrap;
  align-items: flex-start;
}

@media (max-width: 576px) {
  .lyst-proof-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .lyst-proof-divider { display: none; }
}

.lyst-proof-metric {
  font-size: 22px;
  font-weight: 700;
  color: var(--lyst-purple-dk);
  line-height: 1;
}

.lyst-proof-label {
  font-size: 12px;
  color: var(--lyst-text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.lyst-proof-divider {
  width: 1px;
  background: var(--lyst-border);
  align-self: stretch;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Section label (purple pill above headings)
   ---------------------------------------------------------- */
.lyst-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lyst-purple-dk);
  background: var(--lyst-purple-lt);
  border: 1px solid var(--lyst-purple);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------
   About / dark section
   ---------------------------------------------------------- */
.lyst-bg-img {
  min-height: 420px;
  background: url('/assets/images/products/hero_lyst.svg') center center no-repeat;
  background-size: cover;
  background-color: var(--lyst-purple-lt);
}

.lyst-about-col {
  background: var(--lyst-purple-dk);
  color: #fff;
  padding: 56px 48px;
}

.lyst-about-col h2 { color: #fff; }
.lyst-about-col p  { color: rgba(255,255,255,0.82); }

@media (max-width: 991px) {
  .lyst-bg-img    { min-height: 280px; }
  .lyst-about-col { padding: 40px 28px; }
}

/* ----------------------------------------------------------
   Product type / paradigm cards
   ---------------------------------------------------------- */
.lyst-paradigm-section {
  background: var(--lyst-purple-lt);
}

.lyst-paradigm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .lyst-paradigm-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lyst-paradigm-grid { grid-template-columns: 1fr; }
}

.lyst-paradigm-card {
  background: #fff;
  border: 1px solid var(--lyst-border);
  border-top: 3px solid var(--lyst-purple);
  border-radius: 8px;
  padding: 24px 20px;
}

.lyst-paradigm-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.3;
}

.lyst-paradigm-body {
  font-size: 13px;
  color: var(--lyst-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   Feature cards
   ---------------------------------------------------------- */
.lyst-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

@media (max-width: 576px) {
  .lyst-feat-grid { grid-template-columns: 1fr; }
}

.lyst-feat-card {
  background: #f8f9fa;
  border-left: 3px solid var(--lyst-purple);
  border-radius: 0 6px 6px 0;
  padding: 16px;
}

.lyst-feat-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.lyst-feat-card-body {
  font-size: 13px;
  color: var(--lyst-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Platform hub section (dark — Lyst as central layer)
   ---------------------------------------------------------- */
.lyst-hub-section {
  background: var(--lyst-purple-dk);
  color: #fff;
}

.lyst-hub-section h2 { color: #fff; }
.lyst-hub-section p  { color: rgba(255,255,255,0.78); }

.lyst-hub-section .lyst-section-label {
  color: #f9b3f4;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.lyst-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .lyst-hub-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lyst-hub-grid { grid-template-columns: 1fr; }
}

.lyst-hub-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lyst-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

.lyst-hub-product {
  font-size: 12px;
  font-weight: 700;
  color: #f9b3f4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}

.lyst-hub-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Platform advantage cards
   ---------------------------------------------------------- */
.lyst-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .lyst-platform-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .lyst-platform-grid { grid-template-columns: 1fr; }
}

.lyst-platform-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.lyst-platform-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.lyst-icon-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.lyst-icon-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  padding: 8px;
  object-fit: contain;
}

.lyst-icon-plus {
  font-size: 20px;
  color: #ccc;
  line-height: 1;
  align-self: center;
}

.lyst-platform-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px;
  min-height: 2.8em;
  line-height: 1.4;
}

.lyst-platform-desc {
  font-size: 13px;
  color: var(--lyst-text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
  flex: 1;
}

.lyst-platform-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--lyst-purple-dk);
  text-decoration: none;
}

.lyst-platform-link:hover {
  text-decoration: underline;
  color: var(--lyst-purple-dk);
}

/* ----------------------------------------------------------
   Competitive comparison table
   ---------------------------------------------------------- */
.lyst-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lyst-comp-table th,
.lyst-comp-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  vertical-align: middle;
}

.lyst-comp-table th:first-child,
.lyst-comp-table td:first-child {
  text-align: left;
  font-weight: 400;
  color: #333;
  width: 36%;
}

.lyst-comp-table thead th {
  font-size: 13px;
  font-weight: 700;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
  color: #333;
}

.lyst-comp-head {
  background: var(--lyst-purple-lt) !important;
  color: var(--lyst-purple-dk) !important;
}

.lyst-comp-group td {
  background: #f5f5f5 !important;
  color: #444 !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  text-align: left !important;
  border-bottom: 1px solid #e0e0e0;
  border-top: 2px solid #e0e0e0;
}

.lyst-comp-lyst { background: var(--lyst-purple-lt); }

.lyst-comp-check   { color: #22a06b; font-size: 18px; font-weight: 700; }
.lyst-comp-cross   { color: #bbb;    font-size: 18px; font-weight: 400; }
.lyst-comp-partial {
  color: #d97706;
  font-size: 20px;
  font-weight: 700;
}

.lyst-comp-note {
  font-size: 12px;
  color: var(--lyst-text-muted);
  margin-top: 12px;
}

/* ----------------------------------------------------------
   Pricing
   ---------------------------------------------------------- */
#pricing .card-description { min-height: 140px; }

#pricing .text-muted.text-uppercase.font-size-sm {
  min-height: 22px;
  display: block;
}

#pricing .plan-price {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing {
  font-size: 70px;
  font-weight: 600;
  position: relative;
  text-align: center;
  padding: 20px 0;
}

.pricing sup {
  font-size: 24px;
  position: relative;
  top: -30px;
  color: #bdc3c7;
}

.pricing .pricing_period {
  font-size: 24px;
  color: #bdc3c7;
  font-weight: normal;
}

.lyst-pricing-note {
  background: var(--lyst-purple-lt);
  border: 1px solid var(--lyst-purple);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 32px;
}

.lyst-pricing-note h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111;
}

.lyst-pricing-note ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.lyst-cta {
  background: var(--lyst-purple-dk);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.lyst-cta h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
}

.lyst-cta p { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 560px; margin: 0 auto 28px; }

.lyst-cta .btn-roundeded {
  background: var(--lyst-purple);
  color: #fff;
  border: none;
  font-weight: 700;
  margin-right: 12px;
}

.lyst-cta .btn-roundeded:hover {
  background: #C200B5;
  color: #fff;
}

.lyst-cta .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}

.lyst-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
