/* =========================================
   About page
   Ported from src/pages/About.tsx in the client's Lovable project. Tailwind
   classes are noted where a number would otherwise look arbitrary.

   Loaded automatically for every page (see Page::getStyleSheets, which walks
   all pages because of partial navigation), so everything is scoped to
   body.About - the class getBodyClass() emits from simpleName().
   ========================================= */

body.About .app-page-content {
  padding: 0 !important;
}

/* usesWebFont() loads Montserrat and adds .modern-type, but moved.css pins the
   system stack on `body, button, input, select, textarea`; the family still has
   to be declared. Same pattern as body.auth-page and body.lovable-page. */
body.About,
body.About button,
body.About input,
body.About select,
body.About textarea {
  font-family: "Montserrat", sans-serif;
}

body.About .about-page {
  color: #25153c;
}

/* --- Hero ------------------------------------------------------------- */

body.About .about-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e6dbf0;
  /* from-purple-50/60 via-background to-orange-50/30 */
  background-image: linear-gradient(
    to bottom right,
    rgba(250, 245, 255, 0.6),
    #ffffff,
    rgba(255, 247, 237, 0.3)
  );
}

body.About .about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.About .about-orb {
  position: absolute;
  width: 384px; /* w-96 */
  height: 384px;
  border-radius: 9999px;
  filter: blur(64px); /* blur-3xl */
}

body.About .about-orb--purple {
  top: 33.333%;
  left: -128px; /* -left-32 */
  background: rgba(216, 180, 254, 0.2); /* purple-300/20 */
}

body.About .about-orb--orange {
  bottom: 0;
  right: -128px;
  background: rgba(253, 186, 116, 0.2); /* orange-300/20 */
}

body.About .about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1024px; /* max-w-5xl */
  margin: 0 auto;
  padding: 128px 24px 112px; /* pt-32 px-6 pb-28 */
  text-align: center;
}

body.About .about-eyebrow {
  margin: 0 0 40px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #9333ea; /* purple-600 */
}

body.About .about-eyebrow--tight {
  margin-bottom: 16px;
  letter-spacing: 0.35em;
}

body.About .about-h1 {
  margin: 0;
  font-size: 48px; /* text-5xl */
  line-height: 1.05;
  font-weight: 800; /* font-extrabold */
  letter-spacing: -0.025em;
  color: #25153c;
}

/* The gradient runs through the text itself, so the fill has to be cleared. */
body.About .about-gradient-text {
  background-image: linear-gradient(to right, #9333ea, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.About .about-quote-wrap {
  max-width: 768px; /* max-w-3xl */
  margin: 56px auto 0; /* mt-14 */
}

body.About .about-rule {
  display: block;
  width: 64px; /* w-16 */
  height: 1px;
  margin: 0 auto 32px;
  background-image: linear-gradient(to right, #9333ea, #f97316);
}

body.About .about-quote {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 30px; /* text-3xl */
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #25153c;
}

/* The highlighted half of the quote drops the italic and picks up weight. */
body.About .about-quote-emphasis {
  font-style: normal;
  font-weight: 500;
}

/* --- Body ------------------------------------------------------------- */

body.About .about-body {
  max-width: 768px; /* max-w-3xl */
  margin: 0 auto;
  padding: 112px 24px; /* py-28 px-6 */
  text-align: center;
}

body.About .about-body > p {
  margin: 0;
  font-size: 18px; /* text-lg */
  line-height: 1.625; /* leading-relaxed */
  color: rgba(37, 21, 60, 0.9); /* text-foreground/90 */
}

body.About .about-body > p + p {
  margin-top: 32px; /* space-y-8 */
}

body.About .about-closing {
  font-size: 24px !important; /* text-2xl */
  line-height: 1.55 !important;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #25153c !important;
  padding-top: 40px; /* pt-10 */
}

body.About .about-closing-emphasis {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
}

/* --- Three pillars ---------------------------------------------------- */

body.About .about-pillars {
  border-top: 1px solid #e6dbf0;
  border-bottom: 1px solid #e6dbf0;
  background: rgba(245, 240, 250, 0.3); /* bg-muted/30 */
}

body.About .about-pillars-inner {
  max-width: 1152px; /* max-w-6xl */
  margin: 0 auto;
  padding: 80px 24px; /* py-20 px-6 */
}

body.About .about-pillars-head {
  text-align: center;
  margin-bottom: 56px; /* mb-14 */
}

body.About .about-h2 {
  margin: 0;
  font-size: 30px; /* text-3xl */
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #25153c;
}

body.About .about-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; /* gap-6 */
}

body.About .about-pillar {
  background: #ffffff;
  border: 1px solid #e6dbf0;
  border-radius: 16px; /* rounded-2xl */
  padding: 28px; /* p-7 */
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.About .about-pillar:hover {
  border-color: #e9d5ff; /* purple-200 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

body.About .about-pillar-icon {
  width: 44px; /* w-11 */
  height: 44px;
  margin-bottom: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9333ea;
  background-image: linear-gradient(to bottom right, #f3e8ff, #ffedd5);
  transition: background-image 0.2s ease, color 0.2s ease;
}

/* On hover the tile inverts: brand gradient behind a white glyph. */
body.About .about-pillar:hover .about-pillar-icon {
  background-image: linear-gradient(to bottom right, #9333ea, #f97316);
  color: #ffffff;
}

body.About .about-pillar-icon svg {
  width: 20px;
  height: 20px;
}

body.About .about-pillar h3 {
  margin: 0 0 8px;
  font-size: 20px; /* text-xl */
  line-height: 1.4;
  font-weight: 700;
  color: #25153c;
}

body.About .about-pillar p {
  margin: 0;
  font-size: 14px; /* text-sm */
  line-height: 1.625;
  color: #6c5393; /* muted-foreground */
}

/* --- Wider screens ---------------------------------------------------- */

@media (min-width: 768px) {
  body.About .about-hero-inner,
  body.About .about-pillars-inner {
    padding-left: 48px; /* md:px-12 */
    padding-right: 48px;
  }

  body.About .about-body {
    padding-left: 32px; /* md:px-8 */
    padding-right: 32px;
  }

  body.About .about-h1 {
    font-size: 72px; /* md:text-7xl */
  }

  body.About .about-quote {
    font-size: 36px; /* md:text-4xl */
  }

  body.About .about-body > p {
    font-size: 20px; /* md:text-xl */
  }

  body.About .about-closing {
    font-size: 30px !important; /* md:text-3xl */
    padding-top: 64px; /* md:pt-16 */
  }

  body.About .about-h2 {
    font-size: 48px; /* md:text-5xl */
  }

  body.About .about-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
