/* QRFlow Infographic — refined, benefit-led, no clutter */
:root {
  --navy: #07122A;
  --navy-2: #0A1633;
  --blue: #0087FA;
  --cyan: #00C3F8;
  --grad: linear-gradient(135deg, #0087FA 0%, #00C3F8 100%);
  --white: #FFFFFF;
  --surface: #F8FBFF;
  --surface-2: #F4F8FC;
  --border: #D8E3F0;
  --text: #07122A;
  --muted: #5A6B86;
  --font: "Vazirmatn", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(0, 135, 250, 0.08), transparent 60%),
    #E9EEF5;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.poster {
  width: min(1040px, 100%);
  margin: 28px auto 56px;
  background: var(--white);
  border: 1px solid rgba(216, 227, 240, 0.9);
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 48px 90px -56px rgba(7, 18, 42, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 48px 40px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 10% -10%, rgba(0, 135, 250, 0.28), transparent 58%),
    radial-gradient(520px 340px at 100% 30%, rgba(0, 195, 248, 0.16), transparent 55%),
    linear-gradient(165deg, #0A1633 0%, #07122A 52%, #050d1f 100%);
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(0, 195, 248, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  inset: 18% -8% auto auto;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(0, 195, 248, 0.14);
  border-radius: 50%;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-logo {
  width: 128px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
}

.hero-brand h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-tag {
  margin: 12px 0 0;
  max-width: 28ch;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.74);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat {
  padding: 16px 12px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

/* Blocks */
.block {
  padding: 40px 48px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.block.soft {
  background: linear-gradient(180deg, #FBFDFF 0%, #F5F9FD 100%);
}

.block.dark {
  color: #fff;
  border-top: 0;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(0, 135, 250, 0.18), transparent 60%),
    linear-gradient(160deg, #0A1633, #07122A);
}

.block-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.block-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.block-sub {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.block-sub.light {
  color: rgba(255, 255, 255, 0.62);
}

.num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
}

.block-head.light .num {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Scenes */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scene {
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px -30px rgba(7, 18, 42, 0.4);
  position: relative;
  overflow: hidden;
}

.scene::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
  opacity: 0.85;
}

.scene-label {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.scene h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.scene p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

/* Powers */
.power-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
}

.power {
  padding: 22px 22px 20px;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.power:nth-child(2n) {
  border-left: 0;
}

.power:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.power h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.power p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* Types */
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.types span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
}

.types span.accent {
  border: 0;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 24px -14px rgba(0, 135, 250, 0.7);
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.flow-step {
  padding: 20px 16px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-step strong {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.9rem;
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.flow-step p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.flow-arrow {
  width: 18px;
  position: relative;
  align-self: center;
}

.flow-arrow::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 248, 0.7), transparent);
  transform: translateY(-50%);
}

/* Feel */
.feel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feel-grid blockquote {
  margin: 0;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.feel-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  font-weight: 500;
}

/* Footer */
.poster-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 48px 30px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.foot-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-copy img {
  width: 56px;
  height: auto;
  border-radius: 12px;
}

.foot-copy strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.foot-copy span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.foot-badge {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .poster {
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .hero,
  .block,
  .poster-foot {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-stats,
  .scene-grid,
  .power-list,
  .feel-grid {
    grid-template-columns: 1fr;
  }

  .power {
    border-left: 0 !important;
  }

  .power:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .power:last-child {
    border-bottom: 0;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    width: 100%;
    height: 18px;
  }

  .flow-arrow::before {
    inset: 0 20% 0 20%;
    top: 50%;
    height: 1px;
  }

  .poster-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  body { background: #fff; }
  .poster {
    margin: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
