.photo-center {
  --photo-accent: #6D01BE;
  --photo-accent-soft: rgba(109, 1, 190, 0.07);
  --photo-ink: #221b27;
  --photo-muted: #6b6570;
  --photo-line: #e7e1ea;
}

.photo-center [id] {
  scroll-margin-top: 28px;
}

.photo-center .ai-center__hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(109, 1, 190, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(109, 1, 190, 0.06), #fff 58%);
}

.photo-center .ai-center__hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
}

.photo-center__hero-copy h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(40px, 3.7vw, 48px);
  line-height: 1.08;
}

.photo-center__no-break {
  white-space: nowrap;
}

.photo-center__hero-copy h1 em {
  color: var(--photo-accent);
  font-style: normal;
}

.photo-center .photo-center__hero-copy > p {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.75;
}

.photo-center__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.photo-center__hero-actions .ai-center__primary {
  width: auto;
  margin: 0;
  padding: 13px 22px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.photo-center__secondary {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: var(--photo-accent);
  font-weight: 700;
  white-space: nowrap;
}

.photo-center__hero-points {
  display: flex;
  margin: 24px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.photo-center__hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--photo-muted);
  font-size: 13px;
}

.photo-center__hero-points i {
  color: var(--photo-accent);
}

.photo-center__hero-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(109, 1, 190, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(72, 34, 93, 0.13);
}

.photo-center__demo-card {
  min-width: 0;
  text-align: center;
}

.photo-center__demo-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--photo-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.photo-center__demo-card .ai-photo-transform-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.16;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}

.photo-center__demo-card strong {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
}

.photo-center__demo-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--photo-accent);
  box-shadow: 0 8px 20px rgba(109, 1, 190, 0.22);
}

.photo-center__demo-arrow small {
  display: none;
}

.photo-center__hero-demo > p {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--photo-line);
  color: var(--photo-muted);
  font-size: 12px;
  line-height: 1.55;
}

.photo-center__hero-demo > p i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--photo-accent);
}

.photo-center__story,
.photo-center__journey,
.photo-center__outcomes,
.photo-center__style-guide {
  padding: 78px 0;
}

.photo-center__journey,
.photo-center__style-guide {
  background: #faf9fb;
}

.photo-center__section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.photo-center__section-heading h2,
.photo-center__outcomes h2,
.photo-center__workspace-heading h2 {
  margin: 0 0 12px;
  color: var(--photo-ink);
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.photo-center__section-heading > p,
.photo-center__workspace-heading p {
  margin: 0;
  color: var(--photo-muted);
  font-size: 16px;
  line-height: 1.75;
}

.photo-center__problem-grid,
.photo-center__style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-center__problem-grid article {
  padding: 26px;
  border: 1px solid var(--photo-line);
  border-radius: 16px;
  background: #fff;
}

.photo-center__problem-grid article > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  color: var(--photo-accent);
  background: var(--photo-accent-soft);
  font-size: 20px;
}

.photo-center__problem-grid h3,
.photo-center__style-grid h3 {
  margin: 0 0 9px;
  color: var(--photo-ink);
  font-size: 19px;
  line-height: 1.35;
}

.photo-center__problem-grid p,
.photo-center__style-grid p {
  margin: 0;
  color: var(--photo-muted);
  font-size: 14px;
  line-height: 1.7;
}

.photo-center__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-center__steps li {
  position: relative;
  display: flex;
  gap: 16px;
}

.photo-center__steps li:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: -12px;
  width: 24px;
  border-top: 1px dashed rgba(109, 1, 190, 0.35);
  content: "";
}

.photo-center__steps b {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--photo-accent);
  box-shadow: 0 8px 18px rgba(109, 1, 190, 0.18);
}

.photo-center__steps strong {
  display: block;
  margin: 2px 0 6px;
  color: var(--photo-ink);
  font-size: 17px;
}

.photo-center__steps p {
  margin: 0;
  color: var(--photo-muted);
  font-size: 13px;
  line-height: 1.65;
}

.photo-center__outcome-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.photo-center__outcome-grid::before,
.photo-center__outcome-grid::after {
  display: none;
  content: none;
}

.photo-center__outcome-visual {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(109, 1, 190, 0.16), transparent 42%),
    #f8f3fb;
}

.photo-center__outcome-photo {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 230px;
  margin: 0;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 22px 46px rgba(73, 41, 91, 0.18);
  transform: translateX(-50%);
}

.photo-center__outcome-visual > span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(109, 1, 190, 0.1);
  border-radius: 999px;
  color: var(--photo-ink);
  background: #fff;
  box-shadow: 0 10px 28px rgba(73, 41, 91, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.photo-center__outcome-visual > span i {
  color: var(--photo-accent);
}

.photo-center__outcome-visual .is-resume {
  top: 70px;
  left: 18px;
}

.photo-center__outcome-visual .is-card {
  top: 176px;
  right: 16px;
}

.photo-center__outcome-visual .is-download {
  bottom: 50px;
  left: 30px;
}

.photo-center__outcomes h2 {
  max-width: 560px;
}

.photo-center__outcomes ul {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.photo-center__outcomes li {
  display: flex;
  gap: 14px;
}

.photo-center__outcomes li > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--photo-accent);
  font-size: 14px;
}

.photo-center__outcomes li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--photo-ink);
  font-size: 16px;
}

.photo-center__outcomes li p {
  margin: 0;
  color: var(--photo-muted);
  font-size: 14px;
  line-height: 1.65;
}

.photo-center__style-grid article {
  overflow: hidden;
  border: 1px solid var(--photo-line);
  border-radius: 18px;
  background: #fff;
}

.photo-center__style-grid .ai-photo-style-example {
  margin: 0;
  border-radius: 0;
}

.photo-center__style-grid article > div:last-child {
  padding: 20px;
}

.photo-center__style-grid article span {
  display: block;
  margin-bottom: 7px;
  color: var(--photo-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.photo-center__style-guide .photo-center__section-heading {
  max-width: none;
}

.photo-center__style-guide .photo-center__section-heading h2 {
  font-size: clamp(30px, 2.65vw, 35px);
}

.photo-center .ai-center__body {
  padding-top: 76px;
}

.photo-center__workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.photo-center__workspace-heading > div:first-child {
  max-width: 680px;
}

.photo-center__count {
  display: flex;
  min-width: 0;
  padding: 14px 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--photo-line);
  border-radius: 14px;
  background: #fff;
}

.photo-center__count strong {
  color: var(--photo-accent);
  font-size: 28px;
  white-space: nowrap;
}

.photo-center__count span {
  color: var(--photo-muted);
  font-size: 12px;
  white-space: nowrap;
}

.photo-center__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.photo-center__creator,
.photo-center__library {
  min-width: 0;
}

.photo-center__creator .ai-photo-intro {
  margin: 0 0 22px;
  padding: 16px;
  border-radius: 12px;
  background: #faf8fb;
}

.photo-center__creator .ai-photo-transform-example > div {
  width: 92px;
}

.photo-center__creator .ai-photo-transform-image {
  width: 84px;
  height: 84px;
}

.photo-center__creator .ai-photo-transform-example small {
  font-size: 10px;
}

.photo-center__quota-note {
  display: flex;
  gap: 13px;
  margin: 0 24px 22px;
  padding: 15px 17px;
  border: 1px solid rgba(109, 1, 190, 0.13);
  border-radius: 12px;
  background: var(--photo-accent-soft);
}

.photo-center__quota-note > i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--photo-accent);
}

.photo-center__quota-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--photo-ink);
  font-size: 14px;
}

.photo-center__quota-note p {
  margin: 0;
  color: var(--photo-muted);
  font-size: 12px;
  line-height: 1.55;
}

.photo-center__quota-note a {
  color: var(--photo-accent);
  font-weight: 700;
}

.photo-center__form {
  padding: 0 24px 24px;
}

.photo-center__creator .ai-photo-source-actions {
  margin-bottom: 6px;
}

.photo-center__creator .ai-photo-file-action {
  min-height: 54px;
}

.photo-center__creator .ai-photo-generate {
  grid-column: 1 / -1;
  width: auto;
  min-width: 170px;
  min-height: 48px;
  margin: 10px 0 0;
  padding: 10px 22px;
  justify-self: center;
}

.photo-center__creator .ai-photo-style-field {
  grid-column: 1 / -1;
}

.photo-center__creator .ai-photo-field-legend {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 9px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  color: var(--photo-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
}

.photo-center__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}

.photo-center__card {
  overflow: hidden;
  border: 1px solid rgba(109, 1, 190, 0.12);
  border-radius: 12px;
  background: #fff;
}

.photo-center__card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-center__card > div:not(.photo-center__actions) {
  display: grid;
  gap: 3px;
  padding: 14px 14px 8px;
}

.photo-center__card small,
.photo-center__retention {
  color: #6b7280;
}

.photo-center__actions {
  display: flex;
  gap: 8px;
  padding: 8px 14px 14px;
}

.photo-center__actions .button {
  flex: 1;
  margin: 0;
  padding: 8px 10px;
  text-align: center;
}

.photo-center__empty {
  padding: 34px 24px 42px;
  text-align: center;
}

.photo-center__empty i {
  display: block;
  margin-bottom: 10px;
  color: var(--photo-accent);
  font-size: 38px;
}

.photo-center__empty h3 {
  margin-bottom: 6px;
}

.photo-center__empty p,
.photo-center__retention {
  margin: 0;
}

.photo-center__empty-action {
  margin-top: 14px;
  box-shadow: none;
}

.photo-center__empty .photo-center__empty-action i {
  display: inline-block;
  margin: 0 0 0 5px;
  color: inherit;
  font-size: 16px;
}

.photo-center__retention {
  padding: 0 24px 24px;
  font-size: 13px;
  line-height: 1.6;
}

.photo-center__demo-workspace {
  overflow: hidden;
  border: 1px solid var(--photo-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(60, 36, 74, 0.08);
}

.photo-center__demo-controls {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 28px;
}

.photo-center__demo-label {
  display: block;
  margin-bottom: 12px;
  color: var(--photo-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.photo-center__sample-options,
.photo-center__demo-style-options {
  display: flex;
  gap: 10px;
}

.photo-center__sample-options button {
  display: flex;
  width: 112px;
  margin: 0;
  padding: 7px;
  flex-direction: column;
  gap: 7px;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--photo-ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--photo-line);
  cursor: pointer;
}

.photo-center__sample-options button.is-active,
.photo-center__demo-style-options button.is-active {
  border-color: var(--photo-accent);
  box-shadow: 0 0 0 1px var(--photo-accent);
}

.photo-center__sample-options .ai-photo-transform-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 0;
}

.photo-center__sample-options strong {
  font-size: 12px;
}

.photo-center__demo-style-options {
  flex-wrap: wrap;
}

.photo-center__demo-style-options button {
  min-height: 42px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid var(--photo-line);
  border-radius: 999px;
  color: var(--photo-ink);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.photo-center__demo-generate {
  grid-column: 1 / -1;
  width: auto;
  min-width: 180px;
  margin: 0;
  justify-self: start;
}

.photo-center__demo-controls > p {
  grid-column: 1 / -1;
  margin: -10px 0 0;
  color: var(--photo-muted);
  font-size: 12px;
}

.photo-center__demo-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  align-items: center;
  padding: 34px;
  border-top: 1px solid var(--photo-line);
  background: #faf8fb;
}

.photo-center__demo-result-photo {
  margin: 0;
  border: 7px solid #fff;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(65, 39, 79, 0.15);
}

.photo-center__demo-result h3 {
  margin: 0 0 10px;
  color: var(--photo-ink);
  font-size: 27px;
  line-height: 1.3;
}

.photo-center__demo-result p {
  margin: 0 0 20px;
  color: var(--photo-muted);
  font-size: 14px;
  line-height: 1.7;
}

.photo-center__demo-result .ai-center__primary {
  width: auto;
  margin: 0;
  padding: 11px 18px;
}

.photo-center__final-cta {
  padding: 0 0 78px;
  background: #f8f8f8;
}

.photo-center__final-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 30%),
    #2c1539;
}

.photo-center__final-cta .container::before,
.photo-center__final-cta .container::after {
  display: none;
  content: none;
}

.photo-center__final-cta .ai-center__eyebrow {
  color: #dcb9f4;
}

.photo-center__final-cta h2 {
  max-width: 650px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 29px;
  line-height: 1.3;
}

.photo-center__final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.photo-center__final-cta .ai-center__primary {
  width: auto;
  min-width: 190px;
  margin: 0;
  padding: 12px 18px;
  flex: 0 0 auto;
  align-self: center;
  background: #fff;
  color: var(--photo-accent);
  line-height: 1.4;
  text-align: center;
}

.dashboard-container.document-scroll-layout .ai-dashboard-content-inner {
  padding: 0 0 48px;
}

.dashboard-container.document-scroll-layout .photo-center .container {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
}

@media (max-width: 1199px) {
  .dashboard-container:not(.document-scroll-layout) .photo-center__problem-grid,
  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid,
  .dashboard-container:not(.document-scroll-layout) .photo-center__steps {
    grid-template-columns: 1fr;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__steps li:not(:last-child)::after {
    display: none;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid article {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: stretch;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid .ai-photo-style-example {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid article > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .photo-center .ai-center__hero-grid,
  .photo-center__outcome-grid {
    grid-template-columns: 1fr;
  }

  .photo-center__hero-demo {
    max-width: 520px;
  }

  .photo-center__problem-grid,
  .photo-center__style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-center__steps {
    grid-template-columns: 1fr;
  }

  .photo-center__steps li:not(:last-child)::after {
    display: none;
  }

  .photo-center__outcome-visual {
    max-width: 520px;
  }

  .photo-center__demo-controls,
  .photo-center__demo-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .photo-center .ai-center__hero,
  .photo-center__story,
  .photo-center__journey,
  .photo-center__outcomes,
  .photo-center__style-guide {
    padding: 54px 0;
  }

  .photo-center__hero-copy h1 {
    font-size: 38px;
  }

  .photo-center__workspace-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-center__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-center__final-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .photo-center__hero-actions,
  .photo-center__hero-points {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-center__hero-actions .ai-center__primary {
    justify-content: center;
    text-align: center;
  }

  .photo-center__hero-demo {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 8px;
    padding: 14px;
  }

  .photo-center__demo-arrow {
    width: 30px;
    height: 30px;
  }

  .photo-center__problem-grid,
  .photo-center__style-grid,
  .photo-center__grid {
    grid-template-columns: 1fr;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid article {
    grid-template-columns: 1fr;
  }

  .dashboard-container:not(.document-scroll-layout) .photo-center__style-grid .ai-photo-style-example {
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }

  .photo-center__outcome-visual {
    min-height: 360px;
  }

  .photo-center__outcome-photo {
    width: 190px;
  }

  .photo-center__outcome-visual .is-resume {
    left: 8px;
  }

  .photo-center__outcome-visual .is-card {
    right: 8px;
  }

  .photo-center__form,
  .photo-center__grid,
  .photo-center__retention {
    padding-left: 18px;
    padding-right: 18px;
  }

  .photo-center__quota-note {
    margin-right: 18px;
    margin-left: 18px;
  }

  .photo-center__creator .ai-photo-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-center__creator .ai-photo-transform-example > div {
    width: 82px;
  }

  .photo-center__creator .ai-photo-transform-image {
    width: 74px;
    height: 74px;
  }

  .photo-center__demo-controls,
  .photo-center__demo-result,
  .photo-center__final-cta .container {
    padding: 22px;
  }

  .photo-center__sample-options {
    flex-wrap: wrap;
  }

  .dashboard-container.document-scroll-layout .photo-center .container {
    width: min(100% - 28px, 1120px);
  }
}
