/* ==========================================================
   seo.css — TheClickUp
   Styles for SEO content pages: breadcrumbs, service pages,
   articles, team profiles. Complements styles.css.
   Brand blue: #0050E8
   ========================================================== */

/* ---- Breadcrumbs ---- */
.seo-page .breadcrumb {
  background: transparent;
  padding: 12px 0;
  margin-bottom: 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 6px;
}
.seo-page .breadcrumb-item { display: inline-flex; align-items: center; }
.seo-page .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #555;
  padding-right: 6px;
}
.seo-page .breadcrumb-item a { color: #0050E8; text-decoration: none; }
.seo-page .breadcrumb-item a:hover { text-decoration: underline; }
.seo-page .breadcrumb-item.active { color: #888; }

/* ---- Service page layout ---- */
.svc-page .heading-section .heading-title {
  color: #09090b;
}
.svc-page .heading-section .heading-sub {
  color: #0050E8;
}
.svc-page .seo-prose {
  max-width: 760px;
  line-height: 1.8;
  color: #3f3f46;
}
.svc-page .seo-prose strong {
  color: #18181b;
}

/* Dark bands (Deliverables, Process, Expert, Pricing, CTA) */
.svc-page .svc-band-dark {
  background: #0d0d0d;
}
.svc-page .svc-band-dark .heading-section .heading-title {
  color: #fff;
}
.svc-page .svc-band-dark .heading-section .heading-sub {
  color: #8fb2ff;
}
.svc-page .svc-band-dark .seo-prose,
.svc-page .svc-band-dark .seo-prose li,
.svc-page .svc-band-dark p {
  color: #d1d5db;
}
.svc-page .svc-band-dark .seo-prose strong {
  color: #fff;
}

/* Hero WhatsApp on light bg */
.svc-page .svc-hero-btns .tf-btn-2 {
  color: #09090b;
}

/* Expert card */
.svc-expert-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  background: #111;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease;
}
.svc-expert-card:hover {
  border-color: #0050E8;
}
.svc-expert-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.svc-expert-card .name {
  font-weight: 600;
  color: #fff;
}
.svc-expert-card .role {
  font-size: 14px;
  color: #9ca3af;
}

/* Case study block */
.svc-case {
  max-width: 760px;
  background: #0d0d0d;
  border-left: 3px solid #0050E8;
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
}
.svc-case p {
  color: #d1d5db;
  margin: 0 0 10px;
  line-height: 1.7;
}
.svc-case .note {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* FAQ — black active state (not Bootstrap blue) */
.svc-page .section-faqs .accordion-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.svc-page .section-faqs .accordion-button {
  background: #f4f4f5;
  color: #18181b;
  font-weight: 600;
  box-shadow: none !important;
}
.svc-page .section-faqs .accordion-button:not(.collapsed) {
  background: #18181b;
  color: #fff;
}
.svc-page .section-faqs .accordion-button::after {
  filter: none;
}
.svc-page .section-faqs .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.svc-page .section-faqs .accordion-body {
  background: #fff;
  color: #3f3f46;
  line-height: 1.7;
}
.svc-page .section-faqs .accordion-body p {
  margin: 0;
  color: #3f3f46;
}

/* Bottom CTA */
.svc-cta {
  background: #0a0a0a;
  padding: 72px 0 64px;
  text-align: center;
}
.svc-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}
.svc-cta .svc-cta-text {
  max-width: 540px;
  margin: 0 auto 32px;
  color: #d1d5db;
  line-height: 1.7;
}
.svc-cta .svc-cta-email {
  margin-top: 20px;
  font-size: 14px;
  color: #a1a1aa;
}
.svc-cta .svc-cta-email a {
  color: #fff;
  text-decoration: underline;
}

/* ---- Generic SEO prose (insights / dark contexts) ---- */
.seo-prose { max-width: 760px; line-height: 1.8; color: #d1d5db; }
.seo-prose p { margin-bottom: 1.25em; }
.seo-prose ul,
.seo-prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.seo-prose li { margin-bottom: 0.45em; }

/* ---- Answer / AEO block ---- */
.answer-block {
  background: linear-gradient(145deg, #0a0a0a 0%, #0c1535 100%);
  border: 1px solid rgba(0,80,232,0.35);
  border-left: 4px solid #0050E8;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 8px 0 32px;
  color: #e5e7eb;
  line-height: 1.75;
  font-size: 1.02rem;
}

/* ---- Article layout ---- */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #888; margin-bottom: 32px;
}
.article-meta a { color: #0050E8; text-decoration: none; }
.article-toc {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 0 0 36px;
}
.article-toc .toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0050E8;
  margin-bottom: 12px;
}
.article-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.article-toc ol li { counter-increment: toc; padding: 5px 0; }
.article-toc ol li::before {
  content: counter(toc) ".";
  color: #0050E8; font-weight: 600; margin-right: 8px;
}
.article-toc a { color: #d1d5db; text-decoration: none; font-size: 14px; }
.article-toc a:hover { color: #0050E8; text-decoration: underline; }
.article-content h2 {
  font-size: 1.55rem; font-weight: 600;
  margin-top: 2.5em; margin-bottom: 0.75em; color: #fff;
  scroll-margin-top: 100px;
}
.article-content h3 {
  font-size: 1.15rem; font-weight: 600;
  margin-top: 1.75em; margin-bottom: 0.4em; color: #e5e7eb;
}
.article-content p { color: #ccc; line-height: 1.8; margin-bottom: 1.2em; }
.article-content ul,
.article-content ol { color: #ccc; line-height: 1.8; padding-left: 1.5em; margin-bottom: 1.2em; }

/* ---- Team profile ---- */
.team-profile {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
}
.team-profile .profile-photo {
  width: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.team-profile .profile-photo img { width: 100%; display: block; }
.team-profile .profile-role {
  color: #0050E8; font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.team-profile .profile-bio p { color: #ccc; line-height: 1.8; margin-bottom: 1.15em; }

@media (max-width: 991px) {
  .team-profile { grid-template-columns: 1fr; gap: 28px; }
  .team-profile .profile-photo { max-width: 320px; }
}


/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #0050E8;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}


/* ---- Accessibility / technical SEO helpers ---- */
:focus-visible {
  outline: 2px solid #0050E8;
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #0050E8;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
img { max-width: 100%; height: auto; }
.ga-form-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}
.ga-form-banner--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ga-form-banner--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ga-form-banner--info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.is-invalid { border-color: #dc2626 !important; }

/* ---- Homepage AI UGC section redesign ---- */
.aiugc-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% 20%, rgba(0, 80, 232, 0.12), transparent 55%),
    radial-gradient(700px 380px at 8% 80%, rgba(15, 23, 42, 0.06), transparent 50%),
    #f4f6f9;
}
.aiugc-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .aiugc-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }
}
.aiugc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 80, 232, 0.18);
  color: #0050E8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.aiugc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0050E8;
  box-shadow: 0 0 0 4px rgba(0, 80, 232, 0.15);
}
.aiugc-title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #0a0a0a;
  max-width: 14ch;
}
.aiugc-accent { color: #0050E8; }
.aiugc-lead {
  margin: 0 0 28px;
  max-width: 38rem;
  color: #3f3f46;
  font-size: 1.05rem;
  line-height: 1.65;
}
.aiugc-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.aiugc-points li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(9, 9, 11, 0.08);
}
.aiugc-points li:last-child { border-bottom: 1px solid rgba(9, 9, 11, 0.08); }
.aiugc-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0050E8;
  padding-top: 4px;
}
.aiugc-points strong {
  display: block;
  color: #0a0a0a;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.aiugc-points span {
  display: block;
  color: #71717a;
  font-size: 0.95rem;
  line-height: 1.45;
}
.aiugc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.aiugc-btn { min-height: 44px; }

.aiugc-stage {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.aiugc-phone {
  width: min(200px, 42vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, #1a1f2e 0%, #0b0d14 100%);
  box-shadow: 0 28px 60px rgba(9, 9, 11, 0.28);
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.aiugc-phone__bar {
  padding: 14px 14px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aiugc-phone__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px 24px;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(circle at 50% 35%, rgba(0, 80, 232, 0.45), transparent 55%);
}
.aiugc-phone__label {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.aiugc-phone__sub {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}
.aiugc-phone--a {
  transform: rotate(-8deg) translate(-28%, 8%);
  z-index: 1;
}
.aiugc-phone--b {
  position: absolute;
  transform: rotate(3deg) translate(8%, -4%);
  z-index: 3;
  background: linear-gradient(165deg, #243056 0%, #101526 100%);
}
.aiugc-phone--c {
  position: absolute;
  transform: rotate(10deg) translate(42%, 18%);
  z-index: 2;
  opacity: 0.96;
}
.aiugc-phone--b .aiugc-phone__body {
  background:
    linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.6) 100%),
    radial-gradient(circle at 40% 30%, rgba(56, 189, 248, 0.35), transparent 50%);
}
.aiugc-phone--c .aiugc-phone__body {
  background:
    linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.65) 100%),
    radial-gradient(circle at 60% 40%, rgba(251, 146, 60, 0.35), transparent 50%);
}

@media (max-width: 991px) {
  .aiugc-title { max-width: none; }
  .aiugc-stage {
    min-height: 320px;
    margin-top: 8px;
  }
  .aiugc-phone--a { transform: rotate(-6deg) translate(-18%, 10%); }
  .aiugc-phone--b { transform: rotate(2deg) translate(6%, 0); }
  .aiugc-phone--c { transform: rotate(8deg) translate(30%, 16%); }
}

@media (prefers-reduced-motion: no-preference) {
  .aiugc-phone--a { animation: aiugcFloat 7s ease-in-out infinite; }
  .aiugc-phone--b { animation: aiugcFloat 6s ease-in-out infinite 0.4s; }
  .aiugc-phone--c { animation: aiugcFloat 8s ease-in-out infinite 0.8s; }
}
@keyframes aiugcFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---- Home hero CTA row (prevent overlap) ---- */
.section-hero .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  /* Contain GSAP transforms so siblings below never collide */
  isolation: isolate;
}
.section-hero .hero-cta-row > .tf-btn,
.section-hero .hero-cta-row > .tf-btn-2 {
  flex: 0 1 auto;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
@media (max-width: 767px) {
  .section-hero .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }
  .section-hero .hero-cta-row > .tf-btn,
  .section-hero .hero-cta-row > .tf-btn-2 {
    width: 100%;
    max-width: 320px;
  }
}

/* ---- Homepage mid sections (paths / problem / framework) ----
   Matches Aigocy review-box language without section-about-us
   (which forces min-height: 100vh and breaks mid-page spacing). */
.home-paths,
.home-problem,
.home-framework {
  position: relative;
  min-height: 0;
}
.home-paths .heading-section.center .heading-title,
.home-problem .heading-section.center .heading-title,
.home-framework .heading-section.center .heading-title {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.home-problem .heading-section.center .heading-title {
  max-width: 22ch;
}
.home-section-lead {
  max-width: 40rem;
  margin: 20px auto 0;
  color: #3f3f46;
  line-height: 1.65;
}
.home-paths .review-box,
.home-problem .review-box,
.home-framework .review-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--neutral-100, #f4f4f5);
  border-radius: 40px;
  padding: 40px 36px 36px;
  box-shadow:
    0px 7.77px 2.21px 0px rgba(0, 0, 0, 0.0588235294),
    0px 3px 3px 0px rgba(0, 0, 0, 0.1019607843),
    0px -8px 0px 0px rgba(0, 0, 0, 0.0509803922) inset,
    0px 4px 0px 0px rgba(255, 255, 255, 0.6) inset;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-paths a.review-box:hover {
  transform: translateY(-3px);
  box-shadow:
    0px 12px 24px 0px rgba(0, 0, 0, 0.08),
    0px 3px 3px 0px rgba(0, 0, 0, 0.1),
    0px -8px 0px 0px rgba(0, 0, 0, 0.0509803922) inset,
    0px 4px 0px 0px rgba(255, 255, 255, 0.6) inset;
}
.home-paths a.review-box:focus-visible {
  outline: 2px solid #0050E8;
  outline-offset: 3px;
}
.home-card-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #09090b;
}
.home-card-text {
  display: block;
  margin: 0;
  max-width: 32ch;
  color: #52525b;
  font-size: 0.98rem;
  line-height: 1.55;
}
/* Step pills inside framework cards (same language as heading-sub) */
.home-framework .review-box > .heading-sub {
  display: flex;
  position: relative;
  width: max-content;
  border-radius: 8px;
  color: var(--brand, #0050E8);
  padding: 6px 16px 6px 30px;
  background:
    radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, #f5f5f5, #f5f5f5);
  box-shadow:
    0px -3px 0px 0px #e9e9e9 inset,
    0px 1px 0px 0px rgba(255, 255, 255, 0.6980392157) inset,
    0px 3px 3px 0px rgba(0, 0, 0, 0.1411764706);
  margin-left: auto;
  margin-right: auto;
}
.home-framework .review-box > .heading-sub::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--brand, #0050E8);
}
@media (max-width: 991px) {
  .home-paths .review-box,
  .home-problem .review-box,
  .home-framework .review-box {
    padding: 32px 28px 28px;
    border-radius: 28px;
  }
}
@media (max-width: 767px) {
  .home-paths .review-box,
  .home-problem .review-box,
  .home-framework .review-box {
    padding: 28px 22px 24px;
    border-radius: 24px;
  }
  .home-card-text {
    max-width: none;
  }
}

