/* Printbox AI — modern multilingual homepage. Scoped to .pb-home. */
.pb-home {
  --pb-home-ink: #162635;
  --pb-home-muted: #617180;
  --pb-home-line: #dfe7ee;
  --pb-home-soft: #f5f8fb;
  --pb-home-blue: var(--primary-color, #1e73be);
  color: var(--pb-home-ink);
}

.pb-home * { box-sizing: border-box; }
.pb-home a { text-decoration: none; }

.pb-home__shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.pb-home__hero {
  position: relative;
  overflow: hidden;
  margin: 18px auto 22px;
  border: 1px solid #dbe6ef;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 16%, rgba(30,115,190,.18), transparent 30%),
    linear-gradient(135deg, #f8fbfe 0%, #eef6fc 58%, #ffffff 100%);
  box-shadow: 0 24px 70px rgba(22, 45, 66, .08);
}

.pb-home__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 46px;
  align-items: center;
  min-height: 490px;
  padding: 64px;
}

.pb-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(30,115,190,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #43627d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pb-home__eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-home-blue);
  content: '';
}

.pb-home__hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--pb-home-ink);
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.pb-home__hero-lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: #526678;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.pb-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.pb-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--pb-home-blue);
  border-radius: 11px;
  background: var(--pb-home-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pb-home__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(30,115,190,.20);
}

.pb-home__button--ghost {
  border-color: #cbd8e3;
  background: rgba(255,255,255,.82);
  color: #284155 !important;
}

.pb-home__mockups {
  position: relative;
  min-height: 340px;
}

.pb-home__mock {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(39,70,95,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(25,50,72,.13);
}

.pb-home__mock strong {
  color: #233d53;
  font-size: 14px;
}

.pb-home__mock span {
  color: #718291;
  font-size: 12px;
  font-weight: 700;
}

.pb-home__mock::after {
  display: block;
  width: 62%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pb-home-blue), #83bddf);
  content: '';
}

.pb-home__mock--card {
  top: 18px;
  left: 12px;
  width: 238px;
  height: 145px;
  transform: rotate(-5deg);
}

.pb-home__mock--sticker {
  top: 62px;
  right: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  transform: rotate(7deg);
}

.pb-home__mock--poster {
  right: 68px;
  bottom: 0;
  width: 206px;
  height: 268px;
  transform: rotate(3deg);
}

.pb-home__mock--banner {
  left: 0;
  bottom: 14px;
  width: 182px;
  height: 114px;
  transform: rotate(-2deg);
}

.pb-home__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 0 auto 70px;
  border: 1px solid var(--pb-home-line);
  border-radius: 16px;
  background: #fff;
}

.pb-home__trust-item {
  padding: 18px 20px;
  border-right: 1px solid var(--pb-home-line);
  color: #415668;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.pb-home__trust-item:last-child { border-right: 0; }

.pb-home__section { margin: 0 auto 78px; }
.pb-home__section-head { max-width: 690px; margin-bottom: 28px; }
.pb-home__kicker {
  margin-bottom: 8px;
  color: var(--pb-home-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.pb-home__section h2 {
  margin: 0 0 10px;
  color: var(--pb-home-ink);
  font-size: clamp(30px, 3.8vw, 45px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.pb-home__section-intro {
  margin: 0;
  color: var(--pb-home-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pb-home__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pb-home-card {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 265px;
  overflow: hidden;
  border: 1px solid var(--pb-home-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,42,60,.05);
}

.pb-home-card__media { min-height: 100%; background: #eef3f7; }
.pb-home-card__media img { width: 100%; height: 100%; min-height: 265px; object-fit: cover; }
.pb-home-card__body { display: flex; flex-direction: column; padding: 25px; }
.pb-home-card__label {
  margin-bottom: 8px;
  color: #7a8996;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-home-card h3 {
  margin: 0 0 9px;
  color: #1d3345;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.pb-home-card p {
  margin: 0 0 18px;
  color: var(--pb-home-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pb-home-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--pb-home-blue) !important;
  font-size: 14px;
  font-weight: 900;
}

.pb-home-card__link::after { content: '→'; transition: transform .16s ease; }
.pb-home-card__link:hover::after { transform: translateX(3px); }

.pb-home__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pb-home-step {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--pb-home-line);
  border-radius: 18px;
  background: var(--pb-home-soft);
}

.pb-home-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 10px;
  background: #fff;
  color: var(--pb-home-blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(20,42,60,.07);
}

.pb-home-step h3 { margin: 0 0 8px; color: #23394b; font-size: 20px; }
.pb-home-step p { margin: 0; color: var(--pb-home-muted); font-size: 14px; line-height: 1.55; }

.pb-home__more {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pb-home__pill {
  padding: 10px 13px;
  border: 1px solid #d9e3eb;
  border-radius: 999px;
  background: #fff;
  color: #455b6d;
  font-size: 13px;
  font-weight: 800;
}

.pb-home__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  padding: 36px 40px;
  border-radius: 22px;
  background: #172b3d;
  color: #fff;
}

.pb-home__cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(27px, 3.3vw, 39px); }
.pb-home__cta p { max-width: 690px; margin: 0; color: #c6d2dc; font-size: 15px; line-height: 1.55; }
.pb-home__cta .pb-home__button--ghost { border-color: rgba(255,255,255,.25); background: #fff; color: #1f374a !important; }

@media (max-width: 900px) {
  .pb-home__hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 46px 38px 38px; }
  .pb-home__mockups { min-height: 280px; max-width: 470px; width: 100%; margin: 0 auto; }
  .pb-home__trust { grid-template-columns: repeat(2, 1fr); }
  .pb-home__trust-item:nth-child(2) { border-right: 0; }
  .pb-home__trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--pb-home-line); }
  .pb-home__services { grid-template-columns: 1fr; }
  .pb-home__steps { grid-template-columns: 1fr; }
  .pb-home-step { min-height: 0; }
  .pb-home__cta { grid-template-columns: 1fr; }
}

@media (max-width: 549px) {
  .pb-home__shell { width: min(100% - 22px, 1180px); }
  .pb-home__hero { margin-top: 8px; border-radius: 20px; }
  .pb-home__hero-inner { gap: 24px; padding: 34px 22px 26px; }
  .pb-home__hero h1 { font-size: 40px; }
  .pb-home__hero-lead { font-size: 16px; }
  .pb-home__actions { display: grid; grid-template-columns: 1fr; }
  .pb-home__button { width: 100%; }
  .pb-home__mockups { min-height: 238px; transform: scale(.88); transform-origin: center top; margin-bottom: -25px; }
  .pb-home__mock--card { left: 0; }
  .pb-home__mock--sticker { right: -12px; }
  .pb-home__mock--poster { right: 35px; }
  .pb-home__trust { margin-bottom: 54px; }
  .pb-home__trust-item { padding: 15px 10px; font-size: 12px; }
  .pb-home__section { margin-bottom: 58px; }
  .pb-home-card { grid-template-columns: 1fr; }
  .pb-home-card__media img { min-height: 210px; max-height: 240px; }
  .pb-home-card__body { padding: 21px; }
  .pb-home__cta { padding: 28px 22px; border-radius: 18px; }
}
