/* Founder section for the PocketOfficeApps portal homepage. */
.about-founder-section {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(28px, 5vw, 56px) auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(146, 232, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 16%, rgba(39, 230, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(143, 92, 255, 0.14), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(5, 14, 28, 0.88);
  box-shadow:
    0 26px 90px rgba(0, 8, 24, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px);
}

.about-founder-section::before,
.about-founder-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-founder-section::before {
  background:
    linear-gradient(90deg, rgba(39, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(143, 92, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 32%, #000, transparent 78%);
}

.about-founder-section::after {
  inset: auto 10% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 230, 255, 0.7), transparent);
  filter: drop-shadow(0 0 14px rgba(39, 230, 255, 0.5));
}

.about-founder-shell,
.about-values-grid,
.about-founder-cta {
  position: relative;
  z-index: 1;
}

.about-founder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.about-founder-story h2 {
  max-width: 820px;
  margin: 10px 0 18px;
  color: #f8fcff;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.about-founder-copy {
  display: grid;
  gap: 14px;
}

.about-founder-copy p,
.about-founder-card p,
.about-values-grid p,
.about-founder-cta p {
  margin: 0;
  color: rgba(236, 249, 255, 0.78);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.about-founder-card,
.about-values-grid article {
  border: 1px solid rgba(146, 232, 255, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(39, 230, 255, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(6, 18, 34, 0.82);
  box-shadow:
    0 22px 70px rgba(0, 8, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-founder-card {
  padding: 22px;
}

.about-founder-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(39, 230, 255, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.88), transparent 22%),
    radial-gradient(circle, rgba(39, 230, 255, 0.3), rgba(143, 92, 255, 0.14));
  color: #f8fcff;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: 0 0 34px rgba(39, 230, 255, 0.2);
}

.about-founder-card h3 {
  margin: 14px 0 10px;
  color: #f8fcff;
  font-size: clamp(1.3rem, 2.4vw, 1.72rem);
  line-height: 1.12;
}

.about-founder-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-founder-card li {
  color: rgba(236, 249, 255, 0.82);
}

.about-founder-card li::before {
  content: "•";
  margin-right: 8px;
  color: #9bedff;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(24px, 4vw, 34px);
}

.about-values-grid article {
  min-width: 0;
  padding: 20px;
}

.about-values-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid rgba(39, 230, 255, 0.32);
  border-radius: 50%;
  color: #bdf7ff;
  font-size: 0.78rem;
  font-weight: 950;
}

.about-values-grid h3 {
  margin: 0 0 8px;
  color: #f8fcff;
  font-size: 1.16rem;
}

.about-founder-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 34px);
  padding-top: 22px;
  border-top: 1px solid rgba(146, 232, 255, 0.16);
}

.about-founder-cta p {
  max-width: 620px;
}

.about-founder-cta .button {
  min-height: 46px;
  white-space: normal;
  text-align: center;
}

.about-teaser-section .about-founder-copy {
  max-width: 760px;
}

.about-teaser-section .about-founder-card {
  align-self: stretch;
}

.about-page .about-page-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  align-items: center;
  border-color: rgba(146, 232, 255, 0.22);
  background:
    radial-gradient(circle at 16% 18%, rgba(39, 230, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(143, 92, 255, 0.15), transparent 26rem),
    linear-gradient(135deg, rgba(5, 14, 28, 0.96), rgba(8, 18, 34, 0.9));
}

.about-page .about-page-hero .about-founder-card h2 {
  margin: 14px 0 10px;
  color: #f8fcff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.12;
}

.about-story-section,
.about-values-section,
.about-page-cta {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(146, 232, 255, 0.12);
  background:
    radial-gradient(circle at 18% 18%, rgba(39, 230, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(5, 11, 23, 0.94), rgba(10, 19, 37, 0.9));
}

.about-story-grid {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.about-story-copy,
.about-story-panel,
.about-page-cta {
  position: relative;
  z-index: 1;
}

.about-story-copy {
  display: grid;
  gap: 14px;
}

.about-story-copy h2,
.about-values-section .section-heading h2,
.about-page-cta h2 {
  color: #f8fcff;
}

.about-story-copy p,
.about-story-panel p,
.about-page-cta p {
  margin: 0;
  color: rgba(236, 249, 255, 0.78);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.about-story-panel {
  padding: 24px;
  border: 1px solid rgba(146, 232, 255, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 12%, rgba(143, 92, 255, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(6, 18, 34, 0.84);
  box-shadow: 0 22px 70px rgba(0, 8, 24, 0.22);
}

.about-story-panel span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(39, 230, 255, 0.28);
  border-radius: 999px;
  color: #bdf7ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.about-story-panel strong {
  display: block;
  margin-bottom: 12px;
  color: #f8fcff;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.14;
}

.about-values-section .about-values-grid {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.about-page-cta {
  width: min(980px, calc(100% - 40px));
  margin: clamp(30px, 5vw, 64px) auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(146, 232, 255, 0.2);
  border-radius: 18px;
  text-align: center;
}

.about-page-cta p {
  max-width: 720px;
  margin: 0 auto 22px;
}

@media (max-width: 900px) {
  .about-founder-shell,
  .about-values-grid,
  .about-page .about-page-hero,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-founder-card {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .about-founder-section {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-inline: auto !important;
    padding: 12px;
    border-radius: 14px;
  }

  .about-founder-story h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .about-founder-card,
  .about-values-grid article {
    padding: 18px;
  }

  .about-founder-cta .button {
    width: 100%;
    justify-content: center;
  }

  .about-page .about-page-hero,
  .about-page .about-story-section,
  .about-page .about-values-section,
  .about-page .about-page-cta {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-inline: auto !important;
    padding-inline: 12px !important;
  }

  .about-story-grid,
  .about-values-section .about-values-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-story-panel {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  .about-founder-section {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    padding: 8px;
  }

  .about-page .about-page-hero,
  .about-page .about-story-section,
  .about-page .about-values-section,
  .about-page .about-page-cta {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    padding-inline: 8px !important;
  }
}
