:root {
  --bg: #f5f7fb;
  --ink: #18212f;
  --muted: #657184;
  --line: #d9e0ea;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --brand: #111827;
  --brand-strong: #050505;
  --admin: #2f5f9f;
  --client: #b7791f;
  --accent: #b7791f;
  --accent-soft: #fff7df;
  --gold: #d4a228;
  --success: #18864b;
  --danger: #c73535;
  --shadow: 0 18px 50px rgba(20, 33, 48, 0.12);
  --shadow-soft: 0 10px 28px rgba(20, 33, 48, 0.08);
  --radius: 8px;
  --header-h: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.app {
  min-height: 100vh;
}

.site-header,
.app-header {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 234, 0.86);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.compact-brand {
  min-width: 0;
  overflow: hidden;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #050505;
  border: 1px solid rgba(183, 121, 31, 0.45);
}

.brand-link span,
.compact-brand span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-link strong {
  font-size: 0.92rem;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.compact-brand strong {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-brand .brand-logo {
  flex: 0 0 auto;
}

.brand-link small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav,
.site-actions,
.app-header-actions,
.hero-actions,
.form-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.app-header-actions {
  flex-shrink: 0;
  gap: 0.35rem;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: #37475a;
  font-weight: 700;
  font-size: 0.94rem;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.icon-btn {
  border: 0;
  border-radius: var(--radius);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.primary-btn {
  background: var(--brand);
  color: #fff;
  padding: 0.78rem 1rem;
  box-shadow: 0 8px 18px rgba(15, 76, 75, 0.2);
}

.primary-btn:hover {
  background: var(--brand-strong);
}

.secondary-btn {
  background: #fff;
  color: var(--brand);
  border: 1px solid #b9c9c9;
  padding: 0.74rem 1rem;
}

.ghost-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
}

.small-btn {
  min-height: 38px;
  padding: 0.58rem 0.75rem;
  font-size: 0.92rem;
}

.full-btn {
  width: 100%;
}

.icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.landing-screen {
  min-height: 100vh;
  background: var(--bg);
}

.hero {
  min-height: 96vh;
  padding: 7rem 1rem 2rem;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  gap: 2rem;
  background: #153d3b;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: #f5f7fb;
  clip-path: polygon(0 52%, 100% 18%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  overflow: hidden;
  z-index: 0;
}

.hero-backdrop img {
  width: 760px;
  max-width: none;
  position: absolute;
  right: -220px;
  top: 12%;
  filter: saturate(0.9);
}

.hero-content,
.hero-preview {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin: 0 0 0.65rem;
}

.hero .eyebrow {
  color: #ffb985;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-size: 3rem;
  line-height: 0.98;
  margin-bottom: 1rem;
  max-width: 840px;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-actions {
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-actions .primary-btn,
.hero-actions .secondary-btn {
  min-width: 150px;
}

.hero-preview {
  justify-self: center;
}

.phone-frame {
  width: min(310px, 82vw);
  aspect-ratio: 0.58;
  background: #f8fafc;
  color: var(--ink);
  border: 8px solid #050505;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0.85rem;
}

.phone-top {
  width: 68px;
  height: 7px;
  border-radius: 8px;
  background: #18212f;
  margin: 0 auto;
}

.mini-toolbar,
.mini-actions {
  display: flex;
  gap: 0.45rem;
}

.mini-toolbar span,
.mini-actions span {
  height: 26px;
  background: #dfe7ef;
  border-radius: 8px;
  flex: 1;
}

.mini-toolbar span:first-child {
  flex: 1.8;
  background: #cbd9e7;
}

.mini-poster {
  min-height: 80px;
  border-radius: 8px;
  background: #f6d5bd;
  border: 1px solid #f1b789;
}

.mini-poster.large {
  background: #fff7ed;
  min-height: 185px;
  box-shadow: inset 0 0 0 18px rgba(232, 109, 47, 0.12);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mini-poster.cool {
  background: #cce7e6;
  border-color: #94c8c5;
}

.mini-poster.warm {
  background: #ffe0c7;
  border-color: #f4bb8f;
}

.site-section,
.workflow-section,
.site-footer {
  padding: 3.5rem 1rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.section-heading h2,
.workflow-copy h2,
.inline-heading h2,
.client-hero h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: 0;
}

.feature-grid,
.stats-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.stat-card,
.data-card,
.poster-card,
.banner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.25rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: #e4f3f2;
  margin-bottom: 0.9rem;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--admin);
  background: #eaf0fa;
}

.feature-card h3 {
  margin-bottom: 0.45rem;
}

.feature-card p,
.workflow-copy p,
.site-footer span,
.muted-text {
  color: var(--muted);
  line-height: 1.6;
}

.workflow-section {
  background: #fff;
  display: grid;
  gap: 1.5rem;
}

.workflow-list {
  display: grid;
  gap: 0.8rem;
}

.workflow-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.workflow-step strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.workflow-step span {
  font-weight: 750;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: #f9fbfd;
}

.site-footer div {
  display: grid;
  gap: 0.35rem;
}

.login-screen {
  min-height: 100vh;
  padding: 1rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.18), rgba(255, 255, 255, 0) 34%),
    var(--bg);
  color: var(--ink);
}

.login-shell {
  width: min(460px, 100%);
  display: grid;
  gap: 1rem;
}

.back-link {
  color: var(--brand);
  border: 1px solid #b9c9c9;
  background: #fff;
  border-radius: var(--radius);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  justify-self: start;
  padding: 0.65rem 0.85rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.client-only-mode .back-link {
  display: none;
}

.login-panel {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.login-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  padding: 1rem 0.4rem 0.4rem;
}

.login-logo-ring {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 6px solid #ffc400;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13);
}

.login-logo-ring img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.login-brand h2 {
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 0;
}

.login-subtitle {
  color: var(--muted);
  margin: 0.45rem auto 0;
  max-width: 300px;
  line-height: 1.45;
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.role-pill {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.role-pill.active {
  background: #ffc400;
  color: #111827;
  box-shadow: 0 8px 18px rgba(255, 196, 0, 0.24);
}

.form-stack,
.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span,
.check-row span {
  color: #3a4658;
  font-size: 0.86rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8e5;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 116, 111, 0.14);
}

.message-box {
  display: none;
  border-radius: var(--radius);
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
}

.message-box.show {
  display: block;
}

.message-box.success {
  border-color: #b8dfc5;
  background: #effaf2;
  color: #145c32;
}

.message-box.error {
  border-color: #f0b8b8;
  background: #fff1f1;
  color: #9b2424;
}

.message-box.info {
  border-color: #c7d8ef;
  background: #f1f6ff;
  color: #244b7d;
}

.workspace-screen {
  min-height: 100vh;
  background: var(--bg);
}

.workspace-layout {
  display: grid;
}

.side-nav {
  display: none;
}

.side-nav.open {
  display: grid;
  gap: 0.45rem;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 28;
  padding: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.side-nav.open button {
  min-height: 44px;
  text-align: left;
  padding: 0 0.8rem;
}

.workspace-main {
  padding: 1rem 1rem 6.9rem;
  min-width: 0;
}

.workspace-view,
.workspace-section {
  display: none;
}

.workspace-view.active,
.workspace-section.active {
  display: block;
}

#clientHome.workspace-section.active {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: calc(100dvh - var(--header-h) - 7.9rem);
  min-height: 0;
  overflow: hidden;
}

.inline-heading {
  text-align: left;
  margin: 0 0 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.tool-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.stat-card strong {
  font-size: 1.8rem;
}

.stat-card.clients {
  border-top: 4px solid var(--admin);
}

.stat-card.posters {
  border-top: 4px solid var(--brand);
}

.stat-card.viewed {
  border-top: 4px solid var(--success);
}

.stat-card.pending {
  border-top: 4px solid var(--accent);
}

.data-list,
.poster-list,
.banner-list,
.catalog-list,
.invoice-list,
.client-poster-groups {
  display: grid;
  gap: 0.85rem;
}

#clientHome .client-poster-groups {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.1rem 0 0.8rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

#clientHome .client-poster-groups::-webkit-scrollbar {
  display: none;
}

.data-card {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.data-card-head,
.poster-card-head,
.banner-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.data-card h3,
.poster-card h3,
.banner-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.poster-card-body h3 {
  display: none;
}

.meta-row,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.catalog-share-actions {
  align-items: stretch;
}

.catalog-share-actions .small-btn {
  flex: 1 1 7.5rem;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  background: #eef3f7;
  color: #405064;
  font-size: 0.8rem;
  font-weight: 800;
}

.meta-pill.success {
  background: #eaf8ee;
  color: #17633a;
}

.meta-pill.warn {
  background: #fff1e8;
  color: #9b4d16;
}

.file-drop {
  border: 1.5px dashed #aebccc;
  border-radius: var(--radius);
  min-height: 124px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  background: #f9fbfd;
  cursor: pointer;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-drop strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
}

.file-drop small {
  display: block;
  line-height: 1.4;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.34rem 0.55rem;
  background: #eef3f7;
  color: #39495b;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.progress-wrap {
  display: grid;
  gap: 0.45rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.search-panel {
  display: grid;
  gap: 0.8rem;
}

.danger-panel {
  border-color: #f0c0c0;
  background: #fffafa;
}

.danger-row {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.poster-card,
.banner-card {
  overflow: hidden;
}

.catalog-card,
.invoice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.catalog-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef3f7;
}
.catalog-thumb {
  cursor: pointer;
  object-fit: cover;
}

/* Popup */
#image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-image {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain; /* prevents cropping */
  border-radius: 10px;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.catalog-card-body,
.invoice-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.7rem;
}

.catalog-card-body h3,
.invoice-card h3 {
  margin: 0 0 0.2rem;
}

.catalog-card-body strong,
.invoice-card-head > strong {
  color: var(--brand);
  font-size: 1.1rem;
}

.invoice-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.invoice-lines {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.invoice-lines div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.invoice-lines strong {
  color: var(--ink);
  white-space: nowrap;
}

.poster-thumb,
.banner-thumb {
  width: 100%;
  background: #e8edf3;
  object-fit: cover;
}

.poster-thumb {
  aspect-ratio: 4 / 5;
}

.banner-thumb {
  aspect-ratio: 16 / 7;
}

.poster-card-body,
.banner-card-body {
  padding: 0.6rem;
  display: grid;
  gap: 0.4rem;
}

.danger-btn {
  color: var(--danger);
  border-color: #f0c0c0;
}

.client-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.client-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem;
  background: #fbfcfe;
}

.client-stat strong {
  display: block;
  font-size: 1.25rem;
}

.client-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.client-banners {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.6rem;
  margin-bottom: 0.45rem;
  scrollbar-width: none;
  flex: 0 0 auto;
}

.client-banners::-webkit-scrollbar {
  display: none;
}

.client-banner {
  flex: 0 0 min(92vw, 560px);
  min-width: min(92vw, 560px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0.78;
  transform: scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.client-banner.active {
  opacity: 1;
  transform: scale(1);
}

.client-banner img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.client-banner-dots {
  min-height: 24px;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: -0.25rem 0 0.55rem;
  flex: 0 0 auto;
}

.client-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d3df;
}

.client-banner-dot.active {
  width: 24px;
  background: var(--brand);
}

.client-post-day-tabs {
  display: none;
}

.client-post-day-tabs button {
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.35rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  color: #111827;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.client-post-day-tabs button.active {
  background: #ffc400;
  border-color: #ffc400;
}

.client-post-day-tabs svg {
  width: 1.3rem;
  height: 1.3rem;
}

.poster-group {
  display: grid;
  gap: 0.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#clientHome .poster-group {
  scroll-margin-top: 0.85rem;
}

.poster-group h3 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.poster-grid .poster-card {
  cursor: pointer;
}

.empty-state {
  padding: 1.2rem;
  border: 1px dashed #b9c4d3;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.45rem max(0.65rem, env(safe-area-inset-left)) max(0.45rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  z-index: 30;
}

.bottom-nav.client-bottom-actions {
  left: 0.75rem;
  right: 0.75rem;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  min-height: 72px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 680px;
  margin-inline: auto;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.2);
}

.bottom-nav button,
.side-nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 850;
}

.bottom-nav button {
  display: grid;
  place-items: center;
  gap: 0.15rem;
  min-height: 52px;
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.05;
  overflow: hidden;
}

.bottom-nav.client-bottom-actions button {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  min-height: 58px;
  padding: 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.1;
  text-align: left;
}

.bottom-nav button span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav.client-bottom-actions button span {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.bottom-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-nav.client-bottom-actions svg {
  width: 2.05rem;
  height: 2.05rem;
  padding: 0.46rem;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  flex: 0 0 auto;
}

.bottom-nav.client-bottom-actions button.active svg {
  background: rgba(17, 24, 39, 0.15);
  color: #111827;
}

.bottom-nav button.active,
.side-nav button.active {
  background: #e8f4f3;
  color: var(--brand);
}

.bottom-nav.client-bottom-actions button.active {
  background: #ffc400;
  color: #111827;
}

.bottom-nav.client-bottom-actions button {
  background: #fff;
  color: #111827;
}

.bottom-nav.client-bottom-actions button:only-child {
  grid-column: 1 / -1;
  margin: 0 auto;
  width: auto;
  min-height: auto;
  grid-template-columns: auto;
  gap: 0;
  padding: 0;
  background: transparent;
}

.bottom-nav.client-bottom-actions button:only-child svg {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0.95rem;
  background: #ffc400;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.bottom-nav.client-bottom-actions button:only-child span {
  display: none;
}

.client-whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 86px);
  width: 60px;
  height: 60px;
  border: 5px solid #ffd21a;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  z-index: 31;
}

.client-whatsapp-fab svg {
  width: 1.85rem;
  height: 1.85rem;
  stroke-width: 2.3;
}

.support-dialog {
  width: min(720px, 100vw);
  max-width: 100vw;
  max-height: 100vh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.support-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.support-close {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.7rem;
  background: rgba(38, 38, 38, 0.78);
  color: #fff;
}

.support-close svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 2.3;
}

.support-sheet {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 1.35rem 1.2rem max(1.4rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 1rem;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.18);
}

.support-sheet-head,
.support-title-row,
.support-channel,
.support-option-pill,
.support-footnote {
  display: flex;
  align-items: center;
}

.support-sheet-head {
  justify-content: space-between;
  gap: 1rem;
}

.support-title-row {
  gap: 0.8rem;
  min-width: 0;
}

.support-title-row h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 750;
}

.support-head-icon,
.support-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.support-head-icon {
  width: 52px;
  height: 52px;
  color: #111827;
  background: #fff8ee;
}

.support-head-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.support-channel,
.support-option-pill {
  color: #185f35;
  background: #e9f8ec;
  border: 1px solid #bce9c6;
  border-radius: 999px;
  white-space: nowrap;
}

.support-channel {
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  font-weight: 800;
}

.support-channel svg,
.support-option-pill svg,
.support-footnote svg {
  color: #25d366;
}

.support-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-option {
  min-height: 230px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  text-align: center;
  color: #1f2937;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.support-option.correction {
  background: #ffe6b8;
}

.support-option.package {
  background: #dfe3ff;
}

.support-option-icon {
  width: 74px;
  height: 74px;
  background: rgba(255, 255, 255, 0.3);
}

.support-option-icon svg {
  width: 2rem;
  height: 2rem;
  color: #111827;
}

.support-option strong {
  display: block;
  max-width: 190px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.support-option-pill {
  gap: 0.38rem;
  padding: 0.46rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 750;
}

.support-footnote {
  gap: 0.75rem;
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: #f0f0f0;
  color: #767f8f;
  line-height: 1.45;
}

.support-footnote svg {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
}

.modal-dialog {
  width: min(560px, calc(100vw - 1.5rem));
  border: 0;
  padding: 0;
  background: transparent;
}

.poster-dialog {
  width: min(760px, calc(100vw - 1.5rem));
}

.modal-dialog::backdrop {
  background: rgba(9, 18, 28, 0.58);
}

.modal-card {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-head h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-row input {
  width: 20px;
  height: 20px;
}

.poster-preview-img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #eef3f7;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.mobile-only {
  display: inline-flex;
}

.banner-size-guide {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  border: 1px solid #f3cf9a;
  border-radius: var(--radius);
  background: #fff8ed;
  color: #7a4312;
}

.banner-size-guide.compact {
  padding: 0.8rem;
}

.banner-size-guide strong {
  color: #8d430e;
}

.banner-size-guide span {
  color: #815a35;
  line-height: 1.45;
}

.banner-file-drop {
  min-height: 112px;
}

.banner-file-drop.compact {
  min-height: 96px;
}

.banner-crop-dialog {
  width: min(980px, calc(100vw - 1.5rem));
}

.banner-crop-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.banner-crop-layout {
  display: grid;
  gap: 1rem;
}

.banner-crop-preview {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0f172a;
}

.banner-crop-preview canvas {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
}

.crop-controls input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

@media (min-width: 720px) {
  .site-header,
  .app-header {
    padding-inline: 1.5rem;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    min-height: 92vh;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    padding-inline: 1.5rem;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    align-items: center;
    padding-inline: 1.5rem;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 220px 1fr;
  }

  .form-submit {
    align-self: end;
  }

  .search-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .danger-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .poster-list,
  .banner-list,
  .catalog-list,
  .invoice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
  }

  .banner-crop-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding-inline: 2rem;
  }

  .hero,
  .site-section,
  .workflow-section,
  .site-footer {
    padding-inline: max(2rem, calc((100vw - 1180px) / 2));
  }

  .workspace-layout {
    grid-template-columns: 256px minmax(0, 1fr);
  }

  .side-nav {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    min-height: calc(100vh - var(--header-h));
    position: sticky;
    top: var(--header-h);
    padding: 1rem;
    background: #fff;
    border-right: 1px solid var(--line);
  }

  .side-nav.open {
    position: sticky;
    left: auto;
    right: auto;
    top: var(--header-h);
    z-index: auto;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .side-nav button {
    min-height: 44px;
    text-align: left;
    padding: 0 0.8rem;
  }

  .workspace-main {
    padding: 1.25rem 1.5rem 2rem;
  }

  #clientHome.workspace-section.active {
    grid-template-rows: auto auto auto minmax(0, 1fr);
    height: calc(100dvh - var(--header-h) - 3.25rem);
  }

  .client-post-day-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 0 0.35rem;
  }

  .bottom-nav {
    display: none;
  }

  .mobile-only {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .poster-list,
  .banner-list,
  .catalog-list,
  .invoice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .app-header {
    padding-inline: 0.45rem;
  }

  .compact-brand {
    gap: 0.35rem;
  }

  .compact-brand .brand-logo {
    width: 30px;
    height: 30px;
  }

  .compact-brand strong {
    font-size: 0.7rem;
  }

  .compact-brand small {
    font-size: 0.64rem;
  }

  .app-header-actions .ghost-btn {
    width: 38px;
    min-width: 38px;
    padding-inline: 0;
    font-size: 0;
  }

  .app-header-actions .ghost-btn::before {
    content: "Exit";
    font-size: 0.68rem;
  }

  .site-actions .ghost-btn {
    display: none;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
  }

  .client-stats {
    grid-template-columns: 1fr;
  }

  .support-sheet {
    padding-inline: 1rem;
  }

  .support-title-row h2 {
    font-size: 1.45rem;
  }

  .support-channel {
    padding-inline: 0.6rem;
    font-size: 0.86rem;
  }

  .support-copy {
    font-size: 0.98rem;
  }

  .support-options {
    gap: 0.75rem;
  }

  .support-option {
    min-height: 205px;
    padding: 0.8rem 0.65rem;
  }

  .support-option-icon {
    width: 64px;
    height: 64px;
  }

  .support-option strong {
    font-size: 0.98rem;
  }

  .support-option-pill {
    font-size: 0.74rem;
    padding-inline: 0.5rem;
  }
}

/* Refreshed marketing landing page */
.landing-screen {
  background: #f7f8fb;
}

.landing-screen .site-header {
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 234, 0.72);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.landing-screen .brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.landing-screen .brand-link strong {
  font-size: 0.94rem;
}

.landing-screen .site-nav {
  gap: clamp(0.7rem, 2vw, 1.35rem);
}

.landing-screen .site-nav a {
  color: #2f3b4c;
  font-size: 0.91rem;
  position: relative;
}

.landing-screen .site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.landing-screen .site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: 86vh;
  padding: 8rem clamp(1rem, 4vw, 3rem) 3.75rem;
  display: grid;
  align-content: center;
  gap: 1.35rem;
  isolation: isolate;
  background: #111827;
  color: #fff;
}

.hero::after {
  display: none;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 20, 30, 0.92) 0%, rgba(8, 20, 30, 0.74) 41%, rgba(8, 20, 30, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 20, 30, 0.38) 0%, rgba(8, 20, 30, 0.1) 42%, rgba(8, 20, 30, 0.48) 100%);
  z-index: -2;
}

.hero-content {
  width: min(720px, 100%);
}

.hero .eyebrow {
  color: #ffd66b;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.05rem;
  font-size: clamp(3rem, 7.8vw, 6.7rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.hero-actions {
  margin-bottom: 1.05rem;
}

.hero-link {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-points span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.44rem 0.68rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-demo-card {
  width: min(380px, 100%);
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.hero-demo-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-demo-card strong {
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid #e1e7ef;
}

.trust-strip strong {
  color: var(--brand);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 800;
}

.site-section,
.workflow-section,
.site-footer {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.75rem auto 0;
}

.section-heading h2,
.workflow-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.portfolio-section {
  background: #f7f8fb;
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-card,
.poster-sample,
.pricing-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.portfolio-card {
  position: relative;
  min-height: 360px;
  color: #fff;
  background: #111827;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.78));
}

.portfolio-card div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
}

.portfolio-card span,
.poster-sample span,
.pricing-card span {
  color: #ffd66b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card strong {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.poster-sample {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 0.25rem;
  padding: 1rem;
  color: #fff;
}

.poster-sample strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.poster-sample-one {
  background:
    linear-gradient(145deg, rgba(16, 78, 76, 0.88), rgba(232, 109, 47, 0.78)),
    url("landing-hero.png") center / cover;
}

.poster-sample-two {
  background:
    linear-gradient(145deg, rgba(47, 95, 159, 0.88), rgba(255, 196, 0, 0.58)),
    url("landing-hero.png") 70% 50% / cover;
}

.poster-sample-three {
  background:
    linear-gradient(145deg, rgba(22, 31, 48, 0.9), rgba(20, 116, 111, 0.72)),
    url("landing-hero.png") 28% 50% / cover;
}

.services-section {
  background: #fff;
}

.services-section .feature-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.services-section .feature-card {
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: none;
}

.services-section .feature-card p {
  margin-bottom: 0;
}

.pricing-section {
  background: #111827;
  color: #fff;
}

.pricing-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.1rem;
  color: var(--ink);
  background: #fff;
}

.pricing-card.featured {
  border-color: #ffd66b;
  box-shadow: 0 18px 54px rgba(255, 214, 107, 0.18);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.pricing-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-card > strong {
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
}

.pricing-card small {
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-section {
  background:
    linear-gradient(90deg, rgba(255, 241, 232, 0.78), rgba(232, 245, 244, 0.9)),
    #fff;
}

.workflow-copy p {
  max-width: 620px;
}

.workflow-step {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.reviews-section {
  background: #fff;
}

.review-grid {
  display: grid;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.review-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  background: #f8fafc;
}

.review-card p {
  color: #39495b;
  line-height: 1.65;
  margin: 0;
}

.review-card strong {
  color: var(--brand);
}

.site-footer {
  align-items: stretch;
  background: #0f1f2e;
  color: #fff;
  border-top: 0;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 520px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

@media (min-width: 720px) {
  .hero {
    padding-inline: max(2rem, calc((100vw - 1180px) / 2));
  }

  .hero-demo-card {
    margin-top: 0.4rem;
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: max(1.5rem, calc((100vw - 1180px) / 2));
  }

  .portfolio-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    max-width: 1180px;
    margin: 0 auto;
  }

  .portfolio-card.large {
    grid-row: span 2;
  }

  .poster-sample {
    min-height: 230px;
  }

  .pricing-grid,
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .landing-screen .site-header {
    padding-inline: max(2rem, calc((100vw - 1220px) / 2));
  }

  .hero-demo-card {
    position: absolute;
    right: max(2rem, calc((100vw - 1180px) / 2));
    bottom: 3rem;
  }
}

@media (max-width: 719px) {
  .landing-screen .site-actions {
    gap: 0.45rem;
  }

  .landing-screen .site-actions .ghost-btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 20, 30, 0.92), rgba(8, 20, 30, 0.72)),
      linear-gradient(90deg, rgba(8, 20, 30, 0.82), rgba(8, 20, 30, 0.44));
  }

  .hero h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
  }
}

/* Landing concept v2 */
.landing-v2 {
  background: #f6f8fb;
  color: #172033;
}

.landing-v2 .site-header {
  min-height: 74px;
  padding-inline: clamp(1rem, 4vw, 2.4rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.landing-v2 .brand-logo {
  width: 46px;
  height: 46px;
}

.landing-v2 .site-nav a {
  color: #334155;
  font-size: 0.9rem;
}

.landing-v2 .hero {
  min-height: 84svh;
  padding: 7.25rem clamp(1rem, 5vw, 3.5rem) 2.6rem;
  display: grid;
  align-content: center;
  gap: 1rem;
  isolation: isolate;
  background: #111827;
}

.landing-v2 .hero-photo,
.landing-v2 .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-v2 .hero-photo {
  object-fit: cover;
  object-position: 60% center;
  z-index: -3;
}

.landing-v2 .hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 22, 33, 0.94) 0%, rgba(10, 22, 33, 0.82) 44%, rgba(10, 22, 33, 0.22) 100%),
    linear-gradient(180deg, rgba(10, 22, 33, 0.28), rgba(10, 22, 33, 0.6));
  z-index: -2;
}

.landing-v2 .hero-content {
  width: min(760px, 100%);
}

.landing-v2 .hero .eyebrow {
  color: #ffd36a;
}

.landing-v2 .hero h1 {
  max-width: 790px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.landing-v2 .hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.landing-v2 .hero-link {
  background: rgba(255, 255, 255, 0.95);
  color: #0f4c4b;
  border-color: rgba(255, 255, 255, 0.6);
}

.landing-v2 .hero-points span {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-command-panel {
  width: min(410px, 100%);
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero-command-panel div {
  display: grid;
  gap: 0.16rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: #172033;
}

.hero-command-panel span {
  color: #e86d2f;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-command-panel strong {
  line-height: 1.25;
}

.service-bar {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  scrollbar-width: none;
}

.service-bar::-webkit-scrollbar {
  display: none;
}

.service-bar span {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e3ee;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  color: #334155;
  background: #f8fafc;
  font-weight: 850;
}

.landing-v2 .site-section,
.process-section,
.lead-section {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3.5rem);
}

.landing-v2 .section-heading {
  max-width: 800px;
  margin-bottom: 2rem;
}

.landing-v2 .section-heading h2,
.process-section h2,
.lead-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.05;
}

.landing-v2 .section-heading p:not(.eyebrow),
.process-section p,
.lead-section p {
  color: #64748b;
  line-height: 1.65;
}

.work-section {
  background: #f6f8fb;
}

.work-showcase,
.service-grid,
.plan-grid,
.process-list {
  display: grid;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.work-tile,
.service-card,
.plan-card,
.process-list article {
  border-radius: var(--radius);
  border: 1px solid #dfe7ef;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.work-tile {
  min-height: 250px;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  padding: 1.05rem;
  color: #fff;
  overflow: hidden;
}

.work-tile span,
.plan-card > span {
  color: #ffd36a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-tile strong {
  font-size: 1.45rem;
  line-height: 1.12;
}

.work-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.work-tile.feature {
  background:
    linear-gradient(145deg, rgba(15, 76, 75, 0.9), rgba(232, 109, 47, 0.7)),
    url("landing-hero.png") center / cover;
}

.work-tile.offer {
  background:
    linear-gradient(145deg, rgba(47, 95, 159, 0.92), rgba(255, 196, 0, 0.56)),
    url("landing-hero.png") 68% center / cover;
}

.work-tile.catalog {
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(20, 116, 111, 0.72)),
    url("landing-hero.png") 38% center / cover;
}

.work-tile.personal {
  background:
    linear-gradient(145deg, rgba(232, 109, 47, 0.88), rgba(15, 76, 75, 0.76)),
    url("landing-hero.png") 78% center / cover;
}

.services-section {
  background: #fff;
}

.service-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1rem, 3vw, 1.45rem);
  background: #fff;
}

.service-card h3,
.plan-card h3 {
  margin: 0;
}

.service-card p,
.plan-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.plans-section {
  background: #101827;
  color: #fff;
}

.plans-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.plan-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.15rem;
  background: #fff;
  color: #172033;
}

.plan-card.featured {
  border-color: #ffd36a;
  box-shadow: 0 20px 48px rgba(255, 211, 106, 0.18);
}

.plan-card > span {
  color: #e86d2f;
}

.plan-card > strong {
  color: #0f4c4b;
  font-size: 2rem;
  line-height: 1;
}

.plan-card small {
  color: #64748b;
  font-size: 0.9rem;
}

.process-section {
  display: grid;
  gap: 1.5rem;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.85), rgba(232, 245, 244, 0.96)),
    #fff;
}

.process-section > div:first-child {
  max-width: 700px;
}

.process-list article {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.process-list strong {
  color: #e86d2f;
  font-size: 1.35rem;
}

.process-list span {
  font-weight: 900;
}

.process-list p {
  margin: 0;
}

.lead-section {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: #fff;
}

.lead-section > div {
  max-width: 760px;
}

.lead-section .primary-btn {
  width: max-content;
}

.landing-v2 .site-footer {
  background: #0f1f2e;
  color: #fff;
}

@media (min-width: 720px) {
  .landing-v2 .hero {
    padding-inline: max(2rem, calc((100vw - 1180px) / 2));
  }

  .work-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-tile.feature {
    grid-column: span 2;
  }

  .service-grid,
  .plan-grid,
  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead-section {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1024px) {
  .hero-command-panel {
    position: absolute;
    right: max(2rem, calc((100vw - 1180px) / 2));
    bottom: 2.5rem;
  }
}

@media (max-width: 719px) {
  .landing-v2 .site-actions .ghost-btn {
    display: none;
  }

  .landing-v2 .hero {
    min-height: 86svh;
    padding-top: 6.5rem;
  }

  .landing-v2 .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.15rem);
  }

  .landing-v2 .hero-shade {
    background: linear-gradient(180deg, rgba(10, 22, 33, 0.94), rgba(10, 22, 33, 0.74));
  }

  .hero-command-panel {
    margin-top: 0.5rem;
  }

  .lead-section .primary-btn {
    width: 100%;
  }
}
