/* ============================================
   Verticals page styling – Sunorses
   UPDATED: variables, accessibility, responsive polish
   ============================================ */

/* brand vars — change here to theme-match */
:root{
  --sp-accent: #7d5ba6;    /* primary brand */
  --sp-accent-2: #9b7ef5;  /* for gradients */
  --sp-warm: #fbbf24;
  --sp-text: #1f2933;
  --sp-muted: #6b7280;
  --sp-bg-1: #fefce8;
}

/* Section wrapper */
.sp-verticals {
  --container-padding-inline: 1.5rem;
  background:
    radial-gradient(circle at top left, var(--sp-bg-1), #ffffff 55%),
    radial-gradient(circle at bottom right, #e0f2fe, #ffffff 60%);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding-inline: var(--container-padding-inline);
  padding-block: 2.25rem;
}

/* Header */
.sp-vert-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--sp-warm);
  font-weight: 600;
}

/* Sidebar */
.sp-vert-sidebar {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 1.75rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sp-vert-sidebar h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--sp-text);
}

.sp-vert-list { list-style: none; padding-left: 0; margin: 0 0 0.5rem; }

.sp-vert-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #374151;
  margin-bottom: 0.45rem;
}

.sp-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sp-warm);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05) inset;
}

.sp-vert-small { font-size: 0.8rem; color: var(--sp-muted); }

/* tags */
.sp-tag-wrap {
  margin: 0.75rem 0 1.25rem;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.sp-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.9);
  border: 1px solid rgba(156, 163, 175, 0.45);
  color: #374151;
  font-weight:600;
}

.sp-vert-note {
  margin-top: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(239, 246, 255, 0.88);
  font-size: 0.86rem;
  color: var(--sp-text);
  border: 1px dashed rgba(59, 130, 246, 0.22);
}

/* Grid */
.sp-vert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

/* Cards */
.sp-vert-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.36);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease, background 0.25s ease;
  min-height: 180px;
  display:flex;
  flex-direction:column;
}

.sp-vert-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 120% -10%, rgba(251,191,36,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.sp-vert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.62);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, #fefce8, #f9fafb);
}

.sp-vert-card:hover::before { opacity: 1; }

/* card header */
.sp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.sp-chip {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(248, 250, 252, 0.86);
  font-weight: 600;
  color: #374151;
}

.sp-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12), rgba(251,191,36,0.06));
  color: var(--sp-warm);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* card body */
.sp-vert-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
  color: var(--sp-text);
}

.sp-vert-desc {
  font-size: 0.9rem;
  color: var(--sp-muted);
  margin-bottom: 0.6rem;
  line-height: 1.38;
}

.sp-vert-points {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
}

.sp-vert-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #374151;
  margin-bottom: 0.45rem;
}

.sp-vert-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 2px solid var(--sp-warm);
  background: transparent;
}

/* card footer */
.sp-vert-footer {
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  padding-top: 0.55rem;
  margin-top: auto;
}

.sp-vert-tagline {
  font-size: 0.82rem;
  color: var(--sp-muted);
}

/* CTA — PREMIUM LIQUID */
.sp-vert-cta.premium-liquid {
  margin-top: 2rem;
  position: relative;
  overflow: visible;
  padding: 22px 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 15%),
    linear-gradient(120deg, var(--sp-accent-2) 0%, var(--sp-accent) 40%, #5b3aa6 100%);
  color: #fff;
  box-shadow:
    0 8px 22px rgba(88, 50, 148, 0.12),
    0 20px 60px rgba(94, 57, 155, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px) saturate(120%);
}

/* glow under CTA */
.sp-vert-cta.premium-liquid::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 70%;
  height: 34px;
  filter: blur(18px);
  background: radial-gradient(closest-side, rgba(124,58,237,0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* sheen */
.sp-vert-cta.premium-liquid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 30%, transparent 45%);
  border-radius: inherit;
  mix-blend-mode: overlay;
}

/* ensure content above pseudo layers */
.sp-vert-cta.premium-liquid > * { position: relative; z-index: 2; }

/* CTA text */
.sp-vert-cta.premium-liquid h5 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.sp-cta-text {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.94);
  line-height: 1.35;
  max-width: 72%;
}

/* Premium button — improved contrast + accessibility */
.premium-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important; /* high contrast on gradient */
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 8px 24px rgba(92, 46, 153, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  z-index: 3;
  text-decoration: none;
}

/* orb */
.premium-btn::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-block;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(230,210,255,0.7) 40%, rgba(255,255,255,0.05) 60%);
  box-shadow: 0 2px 8px rgba(92, 46, 153, 0.12);
  flex-shrink:0;
}

/* hover/focus */
.premium-btn:hover { transform: translateY(-3px); filter: brightness(1.03); box-shadow: 0 14px 36px rgba(86,46,146,0.14); }
.premium-btn:focus { outline: 3px solid rgba(124,58,237,0.18); outline-offset: 4px; }

/* small screens */
@media (max-width: 991.98px) {
  .sp-verticals { border-radius: 18px; padding-inline: 1rem; padding-block:1.6rem; }
  .sp-vert-grid { grid-template-columns: 1fr; }
  .sp-cta-text { max-width: 100%; margin-bottom: 10px; }
  .sp-vert-cta.premium-liquid { padding: 16px; gap: 12px; }
}

/* extra small screens */
@media (max-width: 575.98px) {
  .sp-vert-sidebar { padding: 1.2rem 0.9rem; }
  .sp-vert-card { padding: 1.1rem 0.9rem; }
  .sp-vert-cta.premium-liquid { padding: 12px; border-radius: 14px; }
  .premium-btn::before { width: 30px; height: 30px; }
  .sp-vert-kicker { font-size: 0.68rem; }
  .sp-vert-card h4 { font-size: 1rem; }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  .sp-vert-card, .premium-btn, .sp-vert-card::before { transition: none !important; animation: none !important; transform: none !important; }
}
