/* PixzarPOS — minimal responsive theme */
:root {
  --brand-dark: #2c3e50;
  --brand-bright: #68cae0;
  --bg: #f8fbff;
  --bg-alt: #eef5fb;
  --surface: #ffffff;
  --text: #2c3e50;
  --text-muted: rgba(44, 62, 80, 0.68);
  --border: rgba(44, 62, 80, 0.12);
  --accent: #68cae0;
  --accent-hover: #4db8d4;
  --accent-soft: rgba(104, 202, 224, 0.16);
  --on-accent: #2c3e50;
  --shadow: 0 20px 56px rgba(44, 62, 80, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --container: min(1120px, 100% - 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

code {
  font-size: 0.85em;
  background: var(--bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Online-first funnel */
.online-banner {
  margin: 0;
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  background: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.online-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.online-banner-text {
  max-width: 62ch;
}

.online-banner-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border-radius: 999px;
}

.online-banner-link:hover {
  color: var(--text);
  background: #e3f6fb;
}

.purchase-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(44, 62, 80, 0.08);
}

.purchase-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}

.purchase-bar-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: min(100%, 200px);
}

.purchase-bar-copy strong {
  color: var(--text);
}

.purchase-bar-btn {
  flex-shrink: 0;
}

.purchase-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.purchase-bar-demo-btn {
  border-color: rgba(44, 62, 80, 0.22);
}

@media (max-width: 620px) {
  .purchase-bar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .purchase-bar-actions .purchase-bar-btn {
    flex: 1;
    min-width: 140px;
  }
}

body.modal-open .purchase-bar {
  visibility: hidden;
  pointer-events: none;
}

.narrow {
  max-width: 640px;
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  width: 250px;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), #4db8d4);
}

.logo-accent {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.nav-list a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:not(.btn):hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.25rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-list .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(2.75rem, 7vw, 4.25rem) 0 clamp(3.25rem, 9vw, 5.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 95% 80% at 100% -8%, rgba(104, 202, 224, 0.34), transparent 54%),
    radial-gradient(ellipse 55% 42% at 10% 105%, rgba(104, 202, 224, 0.16), transparent 52%),
    radial-gradient(ellipse 42% 34% at 58% 100%, rgba(104, 202, 224, 0.12), transparent 54%),
    linear-gradient(165deg, #f0f7fc 0%, var(--bg) 42%, #fcfeff 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg {
    animation: heroBreath 18s ease-in-out infinite alternate;
  }
}

@keyframes heroBreath {
  0% {
    filter: saturate(1) brightness(1);
  }
  100% {
    filter: saturate(1.08) brightness(1.03);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.hero-copy {
  max-width: 38rem;
}

@media (min-width: 901px) {
  .hero-copy {
    padding-right: 0.5rem;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: 0 6px 24px rgba(44, 62, 80, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  color: var(--text);
}

.hero-highlight {
  background: linear-gradient(120deg, #2c9ebb 0%, var(--accent) 40%, #8ad8ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
  line-height: 1.62;
  color: var(--text-muted);
  margin: 0 0 1.65rem;
  max-width: 42ch;
}

@media (min-width: 901px) {
  .lead {
    max-width: 46ch;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-bottom: 1.75rem;
}

.btn-hero-cta {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 10px 36px rgba(104, 202, 224, 0.45), 0 2px 8px rgba(44, 62, 80, 0.08);
}

.btn-hero-cta:hover {
  box-shadow: 0 14px 40px rgba(104, 202, 224, 0.5), 0 4px 12px rgba(44, 62, 80, 0.1);
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .hero-text-link {
    text-align: center;
    padding: 0.35rem 0;
  }
}

.lead-em {
  font-weight: 600;
  color: var(--text);
}

.hero-text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-text-link:hover {
  color: var(--accent);
}

.hero-funnel {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
}

.hero-funnel a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-funnel a:hover {
  text-decoration: underline;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.hero-stats li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-stat-ico {
  flex-shrink: 0;
  margin-top: 0.1em;
  font-size: 0.75rem;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-copy strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.08rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: min(320px, 52vw);
  padding: 0.5rem 0.25rem 0.5rem;
}

@media (min-width: 901px) {
  .hero-visual {
    min-height: 380px;
    padding: 1rem 0.5rem 0.75rem;
  }
}

@media (max-width: 900px) {
  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
    min-height: auto;
  }
}

.hero-mock-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 1.35rem 0.35rem 0.15rem;
}

@media (max-width: 420px) {
  .hero-mock-wrap {
    padding-inline: 0.15rem;
  }
}

.hero-visual-glow {
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  max-height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 202, 224, 0.5) 0%, rgba(104, 202, 224, 0.08) 55%, transparent 70%);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.62rem;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(44, 62, 80, 0.12);
  white-space: nowrap;
}

.hero-chip--tl {
  top: 2%;
  left: -2%;
}

.hero-chip--tr {
  top: 2%;
  right: -2%;
}

.hero-chip--bl {
  bottom: 6%;
  left: -2%;
}

.hero-chip--br {
  bottom: 6%;
  right: -2%;
}

@media (max-width: 420px) {
  .hero-chip--tl,
  .hero-chip--bl {
    left: 0;
  }

  .hero-chip--tr,
  .hero-chip--br {
    right: 0;
  }
}

@media (max-width: 700px) {
  .hero-mock-wrap .hero-chip {
    display: none !important;
  }
}

.hero-trust-strip {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 400px;
}

.hero-trust-strip li {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 62, 80, 0.12);
  box-shadow: 0 6px 22px rgba(44, 62, 80, 0.07);
}

.hero-trust-strip li.hero-trust-mo-only {
  display: none;
}

@media (max-width: 700px) {
  .hero-trust-strip li.hero-trust-mo-only {
    display: inline-flex;
  }
}

.hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow:
    0 4px 6px rgba(44, 62, 80, 0.04),
    0 24px 56px -12px rgba(44, 62, 80, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(44, 62, 80, 0.1);
  overflow: hidden;
}

@media (min-width: 901px) {
  .hero-card {
    transform: perspective(920px) rotateY(-7deg) rotateX(3deg);
    transition: transform 0.5s var(--ease);
  }

  .hero-visual:hover .hero-card {
    transform: perspective(920px) rotateY(-4deg) rotateX(2deg) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-card {
    transform: none !important;
  }
}

.hero-card-header {
  display: flex;
  gap: 6px;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f0f4f8 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-card-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.hero-card-header span:nth-child(1) {
  background: #ff6b6b;
}

.hero-card-header span:nth-child(2) {
  background: #ffd93d;
}

.hero-card-header span:nth-child(3) {
  background: #6bcb77;
}

.hero-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  margin-bottom: 0.65rem;
}

.mock-line.w-40 {
  width: 40%;
}

.mock-line.w-55 {
  width: 55%;
}

.mock-line.w-70 {
  width: 70%;
}

.mock-line.w-90 {
  width: 90%;
}

.mock-sale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  margin: 0.35rem 0 0.85rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(104, 202, 224, 0.35);
}

.mock-sale-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.mock-sale-value {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.mock-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.mock-blocks div {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

#features,
#packages,
#demo,
#faq,
#subscribe-cta {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.section-experience {
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

.experience-card {
  background: linear-gradient(135deg, rgba(104, 202, 224, 0.2), rgba(255, 255, 255, 0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 16px 44px rgba(44, 62, 80, 0.1);
}

.experience-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.experience-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .experience-main {
    grid-template-columns: 1fr;
  }
}

.experience-years {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.experience-years span {
  font-size: clamp(1.8rem, 4.5vw, 2.3rem);
  color: var(--accent);
}

.experience-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 65ch;
}

.experience-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem 1rem;
}

@media (max-width: 860px) {
  .experience-points {
    grid-template-columns: 1fr;
  }
}

.experience-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
}

.experience-points i {
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: 0.82rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.06);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  font-size: 1.15rem;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Customers section */
.section-customers {
  background: #fff;
}

.customers-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.customers-head h2 {
  line-height: 1.15;
}

.customers-highlight {
  background: linear-gradient(120deg, #2c3e50 0%, #3f5f7c 45%, #68cae0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.customers-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.customers-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(44, 62, 80, 0.12);
  background: rgba(104, 202, 224, 0.14);
  color: #2c3e50;
  padding: 0.44rem 0.78rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.customers-chip.is-active {
  background: #2c3e50;
  color: #fff;
  border-color: #2c3e50;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

@media (max-width: 1080px) {
  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .customers-grid {
    grid-template-columns: 1fr;
  }
}

.customer-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid rgba(44, 62, 80, 0.13);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.06);
}

.customer-top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.customer-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.customer-top h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.customer-top p {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: #5f7388;
}

.customer-card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Billing toggle */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.billing-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.billing-toggle {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.billing-toggle[aria-checked="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.billing-knob {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

.billing-toggle[aria-checked="true"] .billing-knob {
  transform: translateX(22px);
  background: var(--accent);
}

.save-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(104, 202, 224, 0.28);
  color: var(--text);
  vertical-align: middle;
}

.offer-50 {
  display: inline-block;
  margin: 0 0.2rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Industry add-ons */
.addon-block {
  max-width: 820px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.addon-block-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.addon-block-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.addon-block-desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.addon-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.addon-actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
}

.addon-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  text-align: left;
}

@media (min-width: 640px) {
  .addon-picker {
    grid-template-columns: repeat(4, 1fr);
  }
}

.addon-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.addon-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.addon-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  padding: 0.75rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.addon-option-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.addon-option-desc {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.addon-option input:focus-visible + .addon-option-body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.addon-option input:checked + .addon-option-body {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: var(--accent-soft);
}

.addon-option:hover .addon-option-body {
  border-color: rgba(104, 202, 224, 0.65);
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .package-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s, border-color 0.2s;
}

.package-card:hover {
  box-shadow: var(--shadow);
}

.package-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.package-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--accent);
}

.package-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.package-desc {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}

.package-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.package-price-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.package-promo-note {
  margin: 0.45rem 0 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
  background: linear-gradient(135deg, rgba(104, 202, 224, 0.24), rgba(104, 202, 224, 0.08));
  border: 1px solid rgba(104, 202, 224, 0.6);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.package-promo-note strong {
  color: var(--brand-dark);
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.35rem;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #fff;
  background: var(--brand-dark);
}

.package-addon-tag {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.package-addon-tag strong {
  color: var(--text);
}

.package-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.package-list li {
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.package-feature-toggle {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0 0 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.package-feature-toggle:hover {
  color: var(--accent-hover);
}

.modal-dialog--features {
  width: min(500px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.modal-dialog--features .modal-lead {
  margin-bottom: 0.9rem;
}

.features-modal-list-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}

.features-modal-list-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface));
}

.features-modal-list {
  margin: 0;
  padding: 0 0.1rem 1rem 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-height: min(48vh, 360px);
  overflow-y: auto;
}

.features-modal-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
}

.features-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.modal-dialog--features .modal-actions {
  position: sticky;
  bottom: 0;
  margin: 0 -1.5rem;
  padding: 0.95rem 1.5rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(44, 62, 80, 0.08);
  z-index: 2;
}

.features-modal-note {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-dialog--addon-features {
  width: min(500px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.modal-dialog--addon-features .modal-actions {
  justify-content: flex-end;
}

.package-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.package-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* Live demo CTA */
.demo-block {
  max-width: 720px;
  margin-inline: auto;
}

.demo-block-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(44, 62, 80, 0.08);
}

@media (min-width: 640px) {
  .demo-block-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.demo-block-copy {
  flex: 1;
  min-width: 0;
}

.demo-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.live-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55);
  animation: livePulse 1.6s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 77, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
  }
}

.live-indicator--btn {
  width: 7px;
  height: 7px;
  margin-right: 0.1rem;
  flex-shrink: 0;
}

.demo-block-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.demo-block-inner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42ch;
}

.btn-demo-open {
  flex-shrink: 0;
}

.demo-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.btn-demo-calendar {
  flex-shrink: 0;
}

.modal-dialog--demo {
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.demo-calendar-inline {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.demo-calendar-inline a {
  font-weight: 700;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

@media (max-width: 520px) {
  .demo-form-grid {
    grid-template-columns: 1fr;
  }
}

.demo-form .field {
  margin-bottom: 1rem;
}

.demo-form .field-error {
  min-height: 1.1rem;
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.req {
  color: var(--accent);
  font-weight: 700;
}

.modal-dialog--demo .field input,
.modal-dialog--demo .field select,
.modal-dialog--demo .field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.modal-dialog--demo .field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.modal-dialog--demo .field input:focus,
.modal-dialog--demo .field select:focus,
.modal-dialog--demo .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.demo-form-foot {
  margin-top: 0.25rem;
}

.demo-form-actions {
  margin-top: 0.25rem;
}

.demo-success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.demo-success[hidden] {
  display: none !important;
}

.demo-success-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.demo-success p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  margin-bottom: 0.65rem;
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-cta {
  background: var(--text);
  color: var(--bg);
}

.section-cta a {
  color: var(--accent);
}

.cta-inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-inner p {
  margin: 0 0 1.25rem;
  color: rgba(243, 246, 248, 0.88);
}

.support-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 202, 224, 0.55);
  background: rgba(104, 202, 224, 0.16);
  font-size: 0.9rem;
  font-weight: 600;
}

.support-hotline a {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.support-hotline a:hover {
  color: #fff;
  text-decoration: underline;
}

.cta-btn {
  margin-top: 0.25rem;
}

.cta-inner .cta-btn {
  background: var(--accent);
  color: var(--on-accent);
}

.cta-inner .cta-btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

/* Footer */
.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-support-link {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(104, 202, 224, 0.14);
  border: 1px solid rgba(104, 202, 224, 0.45);
  font-weight: 700 !important;
}

.footer-support-link:hover {
  background: rgba(104, 202, 224, 0.24);
}

/* Modal */
.modal[hidden] {
  display: none !important;
}

.modal:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 80, 0.5);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  margin: 10vh auto 2rem;
  width: min(440px, calc(100% - 2rem));
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.modal-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  padding-right: 2rem;
}

.modal-lead {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-online-only {
  margin: 0 0 1.15rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(104, 202, 224, 0.45);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field-error {
  display: block;
  min-height: 1.25rem;
  font-size: 0.8rem;
  color: #b42318;
  margin-top: 0.25rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

body.modal-open {
  overflow: hidden;
}
