/* ============================================================
   CARLI GEIST, PARALEGAL — Design System v3
   Palette: Black bg · Hot Pink (#FF1F72 accent) · Gold (#FBBF24 CTA)
   ============================================================ */

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* Subtle dot-grid background texture on body */
body {
  background-image: radial-gradient(circle, rgba(255,31,114,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Stagger reveal animations ───────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-fade > * {
  opacity: 0;
  animation: fadeSlideUp 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stagger-fade > *:nth-child(1) { animation-delay: 0.06s; }
.stagger-fade > *:nth-child(2) { animation-delay: 0.13s; }
.stagger-fade > *:nth-child(3) { animation-delay: 0.20s; }
.stagger-fade > *:nth-child(4) { animation-delay: 0.27s; }
.stagger-fade > *:nth-child(5) { animation-delay: 0.34s; }
.stagger-fade > *:nth-child(6) { animation-delay: 0.41s; }
.stagger-fade > *:nth-child(7) { animation-delay: 0.48s; }
.stagger-fade > *:nth-child(8) { animation-delay: 0.55s; }

/* ── Typography helpers ──────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FF4D98;
  margin-bottom: 0.5rem;
}

.section-title-light {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFF5F8;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
}

/* Gradient text — use on hero keywords */
.gradient-text {
  background: linear-gradient(135deg, #FF80B5 0%, #FF1F72 60%, #B8004A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF1F72, #B8004A);
  color: #fff;
  font-weight: 700;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(255,31,114,0.4);
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,31,114,0.5);
}
.btn-primary:active { transform: translateY(1px) scale(0.98); box-shadow: 0 2px 8px rgba(255,31,114,0.3); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FF1F72;
  color: #FF80B5;
  font-weight: 700;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  background-color: transparent;
}
.btn-outline:hover {
  background-color: rgba(255,31,114,0.12);
  color: #fff;
}

/* Gold CTA — on pink/dark banner sections */
.btn-cta-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FBBF24;
  color: #1A0808;
  font-weight: 800;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(251,191,36,0.35);
}
.btn-cta-light:hover {
  background-color: #F59E0B;
  transform: translateY(-1px);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ccaaaa;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: linear-gradient(90deg, #FF1F72, #FF80B5);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link-active {
  color: #FF80B5 !important;
  font-weight: 600;
}
.nav-link-active::after { transform: scaleX(1) !important; }

/* ── Footer links ────────────────────────────────────────── */
.footer-link {
  font-size: 0.875rem;
  color: #886677;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-link:hover { color: #FF80B5; }

/* ── Forms ───────────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFB3CC;
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}

.form-input {
  display: block;
  width: 100%;
  border-radius: 0.625rem;
  border: 1px solid rgba(255,31,114,0.25);
  background-color: rgba(20,8,15,0.6);
  padding: 0.6875rem 1rem;
  font-size: 0.875rem;
  color: #FFD0E5;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  outline: none;
  border-color: #FF1F72;
  box-shadow: 0 0 0 3px rgba(255,31,114,0.2);
}
.form-input::placeholder { color: #664455; }

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FF1F72'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
}
select.form-input option {
  background-color: #1A0812;
  color: #FFD0E5;
}

/* ── Cards ───────────────────────────────────────────────── */

/* Service cards — home grid */
.service-card {
  display: block;
  background: linear-gradient(160deg, rgba(35,8,20,0.9) 0%, rgba(18,5,12,0.9) 100%);
  border: 1px solid rgba(255,31,114,0.15);
  border-top: 3px solid transparent;
  border-radius: 1rem;
  padding: 1.75rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF1F72, #FF80B5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.service-card:hover {
  border-color: rgba(255,31,114,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,31,114,0.2);
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255,31,114,0.25), rgba(184,0,74,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D98;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,31,114,0.2);
}

/* Stat cards — "Why fight" section */
.stat-card {
  background: rgba(20,8,15,0.6);
  border: 1px solid rgba(255,31,114,0.12);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease;
}
.stat-card:hover { border-color: rgba(255,31,114,0.3); }

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(255,31,114,0.2), rgba(184,0,74,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D98;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,31,114,0.2);
}
.stat-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFF5F8;
  margin-bottom: 0.5rem;
}
.stat-body {
  font-size: 0.875rem;
  color: #997080;
  line-height: 1.65;
}

/* About stat cards */
.about-stat-card {
  background: rgba(20,8,15,0.6);
  border: 1px solid rgba(255,31,114,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

/* Blog cards */
.blog-card {
  display: block;
  background: rgba(20,8,15,0.6);
  border: 1px solid rgba(255,31,114,0.12);
  border-radius: 1rem;
  padding: 1.75rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  border-color: rgba(255,31,114,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,31,114,0.18);
}

/* ── Divider ─────────────────────────────────────────────── */
.section-divider {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, #FF1F72, #FF80B5);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ── CKEditor / Rich Text ────────────────────────────────── */
.ck-content { line-height: 1.8; font-size: 1rem; }
.ck-content h1 { font-size: 1.875rem; font-weight: 700; margin: 1.75rem 0 0.75rem; color: #FFF5F8; }
.ck-content h2 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: #FFF5F8; }
.ck-content h3 { font-size: 1.25rem; font-weight: 600; margin: 1.25rem 0 0.5rem; color: #FFCCE0; }
.ck-content p  { margin-bottom: 1rem; color: #FFB3CC; }
.ck-content ul, .ck-content ol { margin: 0 0 1rem 1.5rem; color: #FFB3CC; }
.ck-content ul { list-style-type: disc; }
.ck-content ol { list-style-type: decimal; }
.ck-content li { margin-bottom: 0.375rem; }
.ck-content a { color: #FF4D98; text-decoration: underline; }
.ck-content a:hover { color: #FF80B5; }
.ck-content blockquote {
  border-left: 3px solid #FF1F72;
  padding-left: 1rem;
  margin: 1.25rem 0;
  color: #997080;
  font-style: italic;
}
.ck-content strong { font-weight: 700; color: #FFD0E5; }
.ck-content em { font-style: italic; }
.ck-content code {
  background: rgba(255,31,114,0.1);
  border-radius: 0.25rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
  color: #FF80B5;
}

/* Legacy quill-content alias */
.quill-content { line-height: 1.8; font-size: 1rem; }
.quill-content h1 { font-size: 1.875rem; font-weight: 700; margin: 1.75rem 0 0.75rem; color: #FFF5F8; }
.quill-content h2 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: #FFF5F8; }
.quill-content h3 { font-size: 1.25rem; font-weight: 600; margin: 1.25rem 0 0.5rem; color: #FFCCE0; }
.quill-content p  { margin-bottom: 1rem; color: #FFB3CC; }
.quill-content ul, .quill-content ol { margin: 0 0 1rem 1.5rem; color: #FFB3CC; }
.quill-content ul { list-style-type: disc; }
.quill-content ol { list-style-type: decimal; }
.quill-content li { margin-bottom: 0.375rem; }
.quill-content a { color: #FF4D98; text-decoration: underline; }
.quill-content a:hover { color: #FF80B5; }
.quill-content blockquote {
  border-left: 3px solid #FF1F72;
  padding-left: 1rem;
  margin: 1.25rem 0;
  color: #997080;
  font-style: italic;
}
.quill-content strong { font-weight: 700; color: #FFD0E5; }
.quill-content em { font-style: italic; }
.quill-content code {
  background: rgba(255,31,114,0.1);
  border-radius: 0.25rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
  color: #FF80B5;
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-grape { background: rgba(255,31,114,0.15); color: #FF80B5; border: 1px solid rgba(255,31,114,0.25); }
.badge-gold  { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.2); }
.badge-green { background: rgba(34,197,94,0.12);  color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.badge-red   { background: rgba(239,68,68,0.12);  color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }

/* ── Prose Dark (legal pages) ────────────────────────────── */
.prose-dark p, .prose-dark li { color: #997788; line-height: 1.8; }
.prose-dark a { color: #FF4D98; text-decoration: underline; }
.prose-dark a:hover { color: #FF80B5; }

/* ── Credential cards (About page) ──────────────────────── */
.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(20,8,15,0.6);
  border: 1px solid rgba(255,31,114,0.15);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
  backdrop-filter: blur(4px);
}
.credential-card:hover { border-color: rgba(255,31,114,0.3); }
.credential-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(255,31,114,0.25), rgba(184,0,74,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D98;
  flex-shrink: 0;
  border: 1px solid rgba(255,31,114,0.2);
}

/* ── Contact info cards ──────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(20,8,15,0.6);
  border: 1px solid rgba(255,31,114,0.15);
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  backdrop-filter: blur(4px);
}
.contact-info-card:hover {
  border-color: rgba(255,31,114,0.4);
  background: rgba(35,8,20,0.7);
}
.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, rgba(255,31,114,0.25), rgba(184,0,74,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D98;
  flex-shrink: 0;
  border: 1px solid rgba(255,31,114,0.2);
}

/* ── Page hero ───────────────────────────────────────────── */
.page-hero-line {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, #FF1F72, transparent);
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* ── Process step ────────────────────────────────────────── */
.process-step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF1F72, #B8004A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(255,31,114,0.45);
}

/* ── Newsletter feature items ────────────────────────────── */
.newsletter-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.newsletter-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, rgba(255,31,114,0.2), rgba(184,0,74,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D98;
  flex-shrink: 0;
  border: 1px solid rgba(255,31,114,0.2);
  margin-top: 0.125rem;
}

/* ── Glass panel (sidebar boxes) — Liquid Glass ──────────── */
.glass-panel {
  background: linear-gradient(160deg, rgba(50,0,25,0.5) 0%, rgba(18,5,12,0.7) 100%);
  border: 1px solid rgba(255,31,114,0.25);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ── Penalty list item ───────────────────────────────────── */
.penalty-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,31,114,0.08);
}
.penalty-item:last-child { border-bottom: none; }

/* ── Scrollbar (webkit) ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #7D0032; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #B8004A; }
