/* =========================================================
   TRIMRLY BIO PAGE STYLESHEET (/public/content/bio.css)
   Light Mode + [data-bs-theme="dark"] Dark Mode
   ========================================================= */

/* ── Shimmer Buttons ── */
.btn-trimrly {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  color: #fff;
  background: linear-gradient(90deg, #233DFF, #005BFF);
  box-shadow: 0 6px 18px rgba(35, 61, 255, 0.25);
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  text-align: center;
  transition: all 0.35s ease;
}
.btn-trimrly::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}
.btn-trimrly:hover::before {
  left: 125%;
}
.btn-trimrly:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(35, 61, 255, 0.35);
  color: #fff;
}

.btn-trimrly-small {
  position: relative;
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #233DFF, #005BFF);
  box-shadow: 0 4px 10px rgba(35, 61, 255, 0.25);
  overflow: hidden;
  z-index: 1;
  transition: all 0.35s ease;
}
.btn-trimrly-small::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}
.btn-trimrly-small:hover::before {
  left: 125%;
}
.btn-trimrly-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 61, 255, 0.35);
  color: #fff;
}

/* ── Hero & Mockup Preview ── */
.bio-page-section {
  padding-top: 24px;
  padding-bottom: 24px;
}
.bio-avatar-circle {
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.bio-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-stack-card-left {
  top: 40px;
  z-index: 1;
}
.bio-stack-card-right {
  top: 20px;
  z-index: 1;
}
.bio-stack-card-center {
  margin-top: 90px;
  z-index: 2;
}

/* ── Feature & Use-Case Cards ── */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, #233DFF 0%, #005BFF 100%);
  box-shadow: 0 4px 14px rgba(35, 61, 255, 0.25);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(35, 61, 255, 0.35);
}

.bio-alt-band {
  background: #f9fafc;
  padding: 60px 0;
}
.bio-card {
  border: 2px solid rgba(35, 61, 255, 0.12);
  border-radius: 16px;
  background: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.bio-card:hover {
  transform: translateY(-6px);
  border-color: #233DFF;
  box-shadow: 0 12px 28px rgba(35, 61, 255, 0.15);
}
.bio-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, #233DFF 0%, #005BFF 100%);
  box-shadow: 0 4px 14px rgba(35, 61, 255, 0.25);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.bio-card:hover .bio-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(35, 61, 255, 0.35);
}

/* ── Connect With Your Audience Section ── */
#connect-audience .bio-audience-box {
  background: #f9fafc;
}
#connect-audience .gradient-primary {
  background: linear-gradient(90deg, #233DFF, #005BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#connect-audience .widget-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
#connect-audience .widget-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(35, 61, 255, 0.12);
  width: 160px;
}
#connect-audience .widget-card:hover {
  transform: translateY(-6px);
  border-color: #233DFF;
  box-shadow: 0 10px 28px rgba(35, 61, 255, 0.15);
}
#connect-audience .widget-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(35, 61, 255, 0.1), rgba(0, 91, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: inset 0 0 8px rgba(35, 61, 255, 0.2);
}
#connect-audience .widget-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
#connect-audience .widget-card span {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  display: block;
  margin-bottom: 4px;
}
#connect-audience .widget-card small {
  font-size: 13px;
  font-weight: 600;
  color: #005BFF;
  opacity: 0.85;
  display: block;
}
@media (min-width: 1200px) {
  #connect-audience .widget-card { width: calc(100% / 6 - 24px); }
}
@media (max-width: 1199px) and (min-width: 768px) {
  #connect-audience .widget-card { width: calc(100% / 3 - 24px); }
}
@media (max-width: 767px) {
  #connect-audience .widget-card { width: calc(100% / 2 - 24px); }
}

/* ── FAQ Section ── */
#faq.bio-faq-section {
  background: #f9fafb;
}
#faq .bio-faq-heading {
  color: #111;
}
#faq .accordion-item {
  border: 2px solid rgba(35, 61, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}
#faq .accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 61, 255, 0.15);
  border-color: rgba(35, 61, 255, 0.3);
}
#faq .accordion-button {
  font-weight: 600;
  color: #111;
  background: #fff;
  padding: 18px 20px;
  box-shadow: none;
  border: none;
}
#faq .accordion-button:not(.collapsed) {
  color: #233DFF;
  background: rgba(35, 61, 255, 0.04);
  box-shadow: inset 0 -1px 0 rgba(35, 61, 255, 0.1);
}
#faq .accordion-body {
  padding: 18px 24px;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}
#faq .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.25s ease;
}
#faq .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/* ── Final CTA Banner ── */
#final-cta .bio-cta-banner {
  margin-top: 15px;
  background: linear-gradient(90deg, #233DFF 0%, #005BFF 100%);
}
#final-cta .btn-trimrly {
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(35, 61, 255, 0.3);
}
#final-cta .btn-trimrly:hover {
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.5), 0 8px 28px rgba(35, 61, 255, 0.4);
  border-color: #fff;
}

/* ── Dark Mode Overrides ── */
[data-bs-theme="dark"] .bio-alt-band,
[data-bs-theme="dark"] #connect-audience .bio-audience-box,
[data-bs-theme="dark"] #faq.bio-faq-section {
  background: #0e0f13 !important;
}
[data-bs-theme="dark"] .bio-card,
[data-bs-theme="dark"] #connect-audience .widget-card,
[data-bs-theme="dark"] #faq .accordion-item,
[data-bs-theme="dark"] #faq .accordion-button,
[data-bs-theme="dark"] #faq .accordion-body {
  background: #16161e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-bs-theme="dark"] .bio-card h4,
[data-bs-theme="dark"] #connect-audience .widget-card span,
[data-bs-theme="dark"] #faq .bio-faq-heading,
[data-bs-theme="dark"] #faq .accordion-button {
  color: #e8e8e8 !important;
}
[data-bs-theme="dark"] .bio-card p,
[data-bs-theme="dark"] .bio-alt-band p.lead,
[data-bs-theme="dark"] #connect-audience p.lead,
[data-bs-theme="dark"] #faq .accordion-body {
  color: #aaa !important;
}
[data-bs-theme="dark"] #connect-audience .widget-card small {
  color: #7b9fff;
}