/* =========================================
   UCAT PAGE
   Uses global style.css for navbar, footer & FAQ
========================================= */

body.ucat-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}

.ucat-page {
  --ucat-navy: #09096A;
  --ucat-dark: #06171f;
  --ucat-pink: #FF28A8;
  --ucat-muted: #53606c;
  --ucat-soft: #f6f5f3;
  --ucat-pink-soft: #fff0f8;
  --ucat-purple-soft: #f1efff;
}

.ucat-page h1,
.ucat-page h2,
.ucat-page h3 {
  color: var(--ucat-dark);
}

.max-w-760 { max-width: 760px; }

.squiggly-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.squiggly-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q25,20 50,10 T100,10' fill='none' stroke='%23FF28A8' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 50px 10px;
  z-index: -1;
}

.section-eyebrow,
.ucat-kicker {
  display: inline-block;
  color: var(--ucat-pink);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Buttons */
.ucat-primary-btn,
.ucat-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .9rem 1.45rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.ucat-primary-btn {
  color: #fff;
  background: var(--ucat-pink);
  box-shadow: 0 12px 28px rgba(255, 40, 168, .2);
}
.ucat-primary-btn:hover,
.ucat-primary-btn:focus {
  color: #fff;
  background: var(--ucat-navy);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(9, 9, 106, .2);
}

.ucat-secondary-btn {
  color: var(--ucat-navy);
  background: #fff;
  border: 1px solid rgba(9, 9, 106, .18);
}
.ucat-secondary-btn:hover,
.ucat-secondary-btn:focus {
  color: #fff;
  background: var(--ucat-navy);
  border-color: var(--ucat-navy);
  transform: translateY(-2px);
}

/* Hero */
.ucat-hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 40, 168, .08), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(9, 9, 106, .08), transparent 30%),
    #f9f9f9;
}

.ucat-hero h1 {
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ucat-hero .lead {
  color: #47515e;
  font-size: 1.14rem;
  line-height: 1.75;
  max-width: 650px;
}

.ucat-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
  color: #47515e;
  font-size: .94rem;
}
.ucat-trust-row i {
  color: var(--ucat-pink);
  margin-right: .35rem;
}

.ucat-hero-image-wrap {
  position: relative;
  max-width: 570px;
  margin-left: auto;
}

.ucat-hero-image {
  display: block;
  width: 100%;
  height: 530px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(9, 9, 106, .16);
}

.hero-result-card {
  position: absolute;
  left: -34px;
  bottom: 28px;
  width: min(340px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: .9rem;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(9,9,106,.08);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 16px 36px rgba(6, 23, 31, .15);
}
.result-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  color: #fff;
  background: var(--ucat-pink);
  border-radius: 14px;
  font-size: 1.25rem;
}
.hero-result-card strong,
.hero-result-card small {
  display: block;
}
.hero-result-card small {
  color: var(--ucat-muted);
  margin-top: .2rem;
  line-height: 1.35;
}

/* Proof bar */
.ucat-proof {
  background: var(--ucat-navy);
}
.proof-item {
  color: #fff;
  padding: .55rem;
}
.proof-item strong,
.proof-item span {
  display: block;
}
.proof-item strong {
  font-size: 1.2rem;
}
.proof-item span {
  margin-top: .18rem;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
}

/* Feature cards */
.ucat-features {
  background: var(--ucat-soft);
}
.ucat-feature-card {
  background: #fff;
  border: 1px solid #eceaec;
  border-radius: 22px;
  padding: 1.7rem;
  box-shadow: 0 10px 30px rgba(9, 9, 106, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ucat-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(9, 9, 106, .11);
}
.ucat-feature-card > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ucat-pink);
  background: var(--ucat-pink-soft);
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.ucat-feature-card h3 {
  font-size: 1.18rem;
  font-weight: 750;
}
.ucat-feature-card p {
  color: var(--ucat-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Sections and accordion */
.ucat-sections {
  background: #fff;
}
.ucat-image-panel {
  padding: 18px;
  background: linear-gradient(145deg, var(--ucat-purple-soft), var(--ucat-pink-soft));
  border-radius: 32px;
}
.section-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 24px;
}

.ucat-accordion .accordion-item {
  border: 1px solid #e7e5eb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: .8rem;
}
.ucat-accordion .accordion-button {
  color: var(--ucat-dark);
  background: #fff;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.15rem;
}
.ucat-accordion .accordion-button:not(.collapsed) {
  color: var(--ucat-navy);
  background: var(--ucat-purple-soft);
}
.ucat-accordion .accordion-body {
  color: var(--ucat-muted);
  line-height: 1.65;
}

/* Process */
.ucat-process {
  background: var(--ucat-soft);
}
.process-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 2rem 1.6rem 1.6rem;
  border: 1px solid #eceaec;
}
.process-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ucat-navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.process-card h3 {
  font-size: 1.2rem;
  font-weight: 750;
}
.process-card p {
  color: var(--ucat-muted);
  line-height: 1.65;
  margin: 0;
}

/* Local section */
.ucat-local {
  background: #fff;
}
.local-benefits {
  display: grid;
  gap: 1rem;
}
.local-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.local-benefits i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: var(--ucat-pink);
  background: var(--ucat-pink-soft);
  border-radius: 12px;
}
.local-benefits strong,
.local-benefits small {
  display: block;
}
.local-benefits small {
  color: var(--ucat-muted);
  margin-top: .15rem;
  line-height: 1.45;
}

.location-card {
  max-width: 560px;
  margin-left: auto;
  color: #fff;
  background: var(--ucat-navy);
  border-radius: 30px;
  padding: 2.5rem;
  box-shadow: 0 22px 54px rgba(9, 9, 106, .2);
}
.location-card h3 {
  color: #fff;
  font-size: 1.65rem;
  margin-top: 1rem;
}
.location-card p {
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}
.location-pin {
  font-size: 2rem;
  color: var(--ucat-pink);
}
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.location-tags span {
  display: inline-flex;
  padding: .45rem .75rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  font-size: .86rem;
}

/* Comparison */
.ucat-comparison {
  background: var(--ucat-soft);
}
.comparison-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e9e7ec;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(9, 9, 106, .08);
}
.comparison-column {
  padding: 2.1rem;
}
.comparison-column + .comparison-column {
  border-left: 1px solid #e9e7ec;
}
.comparison-column.featured {
  position: relative;
  background: var(--ucat-purple-soft);
}
.recommended-label {
  display: inline-block;
  color: #fff;
  background: var(--ucat-pink);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .8rem;
}
.comparison-column h3 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.comparison-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comparison-column li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--ucat-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.comparison-column li i {
  color: #8e9298;
  margin-top: .18rem;
}
.comparison-column.featured li i {
  color: var(--ucat-pink);
}

/* Final CTA */
.ucat-final-cta {
  background: #fff;
}
.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,40,168,.28), transparent 30%),
    var(--ucat-navy);
  border-radius: 30px;
  padding: 3.2rem;
  box-shadow: 0 22px 55px rgba(9, 9, 106, .18);
}
.final-cta-card h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  max-width: 700px;
  margin: .55rem 0 1rem;
}
.final-cta-card p {
  color: rgba(255,255,255,.76);
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: .75rem;
  min-width: 245px;
}

/* FAQ global colour correction for this page */
.ucat-page #faq {
  background: #fff;
}
.ucat-page .faq-title {
  color: var(--ucat-dark);
}
.ucat-page .faq-sub {
  color: var(--ucat-muted);
}
.ucat-page .faq-accordion .accordion-button {
  color: var(--ucat-dark);
}

/* Responsive */
@media (max-width: 991.98px) {
  .ucat-hero-image-wrap,
  .location-card {
    max-width: 100%;
    margin: 0 auto;
  }
  .ucat-hero-image {
    height: 430px;
  }
  .hero-result-card {
    left: 18px;
  }
  .section-image {
    height: 430px;
  }
  .final-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .final-cta-actions {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .ucat-page .ucat-hero,
  .ucat-page .ucat-features,
  .ucat-page .ucat-sections,
  .ucat-page .ucat-process,
  .ucat-page .ucat-local,
  .ucat-page .ucat-comparison,
  .ucat-page .ucat-final-cta {
    text-align: center;
  }

  .ucat-hero h1 {
    font-size: 2.25rem;
  }
  .ucat-hero .lead {
    font-size: 1.02rem;
    line-height: 1.65;
  }
  .hero-actions,
  .ucat-trust-row,
  .final-cta-actions {
    justify-content: center;
  }
  .ucat-hero-image {
    height: 320px;
  }
  .hero-result-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -36px auto 0;
    text-align: left;
  }
  .section-image {
    height: 320px;
  }
  .ucat-feature-card,
  .process-card {
    text-align: center;
  }
  .ucat-feature-card > i,
  .process-number {
    margin-left: auto;
    margin-right: auto;
  }
  .local-benefits {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
  }
  .location-card {
    padding: 2rem 1.3rem;
  }
  .comparison-wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .comparison-column + .comparison-column {
    border-left: none;
    border-top: 1px solid #e9e7ec;
  }
  .final-cta-card {
    align-items: center;
    padding: 2.3rem 1.25rem;
  }
  .final-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .final-cta-actions a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ucat-primary-btn,
  .ucat-secondary-btn {
    width: 100%;
  }
  .proof-item strong {
    font-size: 1.05rem;
  }
}
