/* Zentech Digital — aligned with POS.Frontend calm-theme */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ── Tokens (POS calm-theme) ── */
.google-ui.calm-theme {
  --calm-bg: #eef1f5;
  --calm-bg-soft: #f7f8fa;
  --calm-panel: #ffffff;
  --calm-ink: #17202a;
  --calm-muted: #5f6975;
  --calm-line: #d5dae1;
  --calm-primary: #0052cc;
  --calm-primary-strong: #0747a6;
  --calm-accent: #ffe000;
  --calm-accent-strong: #ffd000;
  --calm-accent-soft: #fff7b8;
  --calm-warn: #b26b00;
  --calm-header: #202428;
  --google-surface-radius: 6px;
  --google-control-radius: 4px;
  --google-chip-radius: 6px;
  --google-shadow: 0 1px 2px rgba(32, 36, 40, 0.08), 0 10px 28px rgba(32, 36, 40, 0.07);
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --band-pad-y: clamp(2.5rem, 6vw, 4rem);
  --card-pad: clamp(1.125rem, 2.5vw, 1.5rem);
  --gap: clamp(0.75rem, 2vw, 1.25rem);
  --hero-gradient: radial-gradient(circle at 8% 12%, rgba(255, 224, 0, 0.22), transparent 38%),
    radial-gradient(circle at 92% 88%, rgba(0, 82, 204, 0.2), transparent 40%),
    linear-gradient(135deg, #202428 0%, #253858 50%, #0052cc 100%);
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Tahoma, system-ui,
    sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  color: var(--calm-ink);
  background: var(--calm-bg);
}

.page-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--page-gutter);
}

/* ── Typography ── */
h1,
h2,
h3 {
  font-family: "Segoe UI Variable Display", Aptos Display, Aptos, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 640;
  color: var(--calm-ink);
  margin: 0;
}

p {
  margin: 0;
}

/* ── POS buttons (base is shared by every variant — matches POS.Frontend index.css) ── */
.pos-button,
.pos-button-primary,
.pos-button-success,
.pos-button-danger,
.pos-button-outline {
  display: inline-flex;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--google-control-radius);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pos-button:disabled,
.pos-button-primary:disabled,
.pos-button-success:disabled,
.pos-button-outline:disabled {
  pointer-events: none;
  opacity: 0.5;
}

a.pos-button,
a.pos-button-primary,
a.pos-button-success,
a.pos-button-danger,
a.pos-button-outline,
a.pos-button:hover,
a.pos-button-primary:hover,
a.pos-button-success:hover,
a.pos-button-danger:hover,
a.pos-button-outline:hover,
a.pos-button:visited,
a.pos-button-primary:visited,
a.pos-button-success:visited,
a.pos-button-danger:visited,
a.pos-button-outline:visited {
  text-decoration: none;
}

.pos-button-primary {
  background-color: var(--calm-primary);
  color: #ffffff;
}

.pos-button-primary:hover {
  background-color: var(--calm-primary-strong);
  color: #ffffff;
}

.pos-button-success {
  background-color: var(--calm-accent);
  color: #202428;
}

.pos-button-success:hover {
  background-color: var(--calm-accent-strong);
  color: #202428;
}

.pos-button-danger {
  background-color: var(--calm-danger);
  color: #ffffff;
}

.pos-button-danger:hover {
  background-color: #a61f00;
  color: #ffffff;
}

.pos-button-outline {
  background-color: #ffffff;
  border-color: var(--calm-line);
  color: var(--calm-ink);
}

.pos-button-outline:hover {
  background-color: #f4f5f7;
  color: var(--calm-ink);
}

/* ── Cards ── */
.pos-card {
  background: var(--calm-panel);
  border: 1px solid var(--calm-line);
  border-radius: var(--google-surface-radius);
  box-shadow: var(--google-shadow);
  padding: var(--card-pad);
}

.tag-chip {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--google-chip-radius);
  background: var(--calm-accent-soft);
  color: var(--calm-warn);
  border: 1px solid rgba(255, 224, 0, 0.45);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--calm-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--calm-primary);
}

.check-list--compact li {
  font-size: 0.8125rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(90deg, #202428 0%, #253858 58%, #0052cc 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(32, 36, 40, 0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  display: flex;
  width: 3.25rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--google-control-radius);
  background: var(--calm-accent);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.brand-mark img {
  width: 2rem;
  height: auto;
  max-height: 1.35rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.brand-tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
}

.brand-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-weight: 520;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--google-chip-radius);
  transition: background 0.15s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header__crm {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-header__crm:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.site-header__cta {
  flex-shrink: 0;
}

/* Product / card footers — POS toolbar rhythm */
.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--calm-line);
}

.card-footer--split {
  justify-content: space-between;
}

.product-card--featured {
  border-color: rgba(0, 82, 204, 0.28);
  box-shadow: 0 1px 2px rgba(32, 36, 40, 0.08), 0 14px 32px rgba(0, 82, 204, 0.1);
}

.product-card--featured::before {
  content: "";
  display: block;
  height: 3px;
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 0.625rem;
  border-radius: var(--google-surface-radius) var(--google-surface-radius) 0 0;
  background: linear-gradient(90deg, #ffe000, #0052cc);
}

.nav-toggle {
  display: none;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.site-nav-mobile {
  display: none;
  flex-direction: column;
  background: #253858;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem var(--page-gutter) 0.75rem;
}

.site-nav-mobile:not([hidden]) {
  display: flex;
}

.site-nav-mobile a {
  padding: 0.6rem 0;
  font-size: 12px;
  font-weight: 520;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav-mobile a:last-child {
  border-bottom: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
}

.skip-link:focus {
  left: var(--page-gutter);
  top: 0.5rem;
}

/* ── Hero (full-width dark band — like POS login shell) ── */
.hero-band {
  width: 100%;
  background: var(--hero-gradient);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-layout {
  display: grid;
  gap: var(--gap);
  padding-block: var(--band-pad-y);
  align-items: start;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-band .eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
}

.hero-band h1 {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 650;
  line-height: 1.08;
  color: #fff;
  max-width: 14em;
}

.hero-lead {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-metrics {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
  width: 100%;
}

@media (min-width: 540px) {
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-metrics li {
  padding: var(--card-pad);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--google-surface-radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.hero-metrics__value {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 590;
  color: #fff;
  line-height: 1.35;
}

.hero-panel {
  height: 100%;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.hero-panel::before {
  content: "";
  display: block;
  height: 3px;
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 0.875rem;
  border-radius: var(--google-surface-radius) var(--google-surface-radius) 0 0;
  background: linear-gradient(90deg, #ffe000, #0052cc);
}

.hero-panel__label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #006644;
}

/* ── Content bands (full width) ── */
.band {
  width: 100%;
}

.band__inner {
  padding-block: var(--band-pad-y);
}

.band--light {
  background: var(--calm-panel);
  border-block: 1px solid var(--calm-line);
}

.band--muted {
  background: #f4f5f7;
  border-block: 1px solid var(--calm-line);
}


.band-header {
  margin-bottom: var(--gap);
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--calm-line);
  max-width: 40rem;
}

.band-header h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.375rem;
}

.band-header p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--calm-muted);
}

.card-grid {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

.card-grid--2 {
  grid-template-columns: 1fr;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card,
.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
}

.product-card h3,
.info-card h3 {
  font-size: 1rem;
  margin-top: 0.25rem;
}

.product-card > p,
.info-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--calm-muted);
  flex: 1;
}

/* ── Info cards (Built for Pakistan) ── */
.info-card {
  position: relative;
  padding-top: calc(var(--card-pad) + 0.25rem);
}

.info-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  margin-bottom: 0.5rem;
  border-radius: var(--google-chip-radius);
  background: var(--calm-accent-soft);
  border: 1px solid rgba(255, 224, 0, 0.45);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--calm-warn);
}

.info-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}

.band--muted .band-header {
  max-width: none;
}

.band--muted .card-grid--3 {
  width: 100%;
}

/* ── Contact CTA (full-width dark band, no nested white box) ── */
.band--cta {
  background: var(--hero-gradient);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.cta-panel__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
}

.cta-panel__copy h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-panel__copy p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
  max-width: 40rem;
}

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: min(100%, 14rem);
}

@media (min-width: 540px) {
  .cta-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
  }
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--calm-ink);
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--calm-ink);
}

/* ── Footer ── */
.site-footer {
  width: 100%;
  background: var(--calm-panel);
  border-top: 1px solid var(--calm-line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
  font-size: 0.875rem;
  color: var(--calm-muted);
}

.site-footer__links a {
  color: var(--calm-primary);
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .site-nav,
  .site-header__actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
