/* ==========================================================================
   BillSoft — Minimal Dark SaaS Theme (#0D0D0D + Logo Indigo #301F7C / Orange #C14828)
   ========================================================================== */

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaSemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --bg-elevated: #141418;
  --bg-card: #111115;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --indigo: #301f7c;
  --indigo-soft: rgba(48, 31, 124, 0.42);
  --orange: #c14828;
  --orange-bright: #df5b38;
  --orange-soft: rgba(193, 72, 40, 0.34);
  --gradient: linear-gradient(135deg, #301f7c 0%, #c14828 100%);
  --gradient-hover: linear-gradient(135deg, #3f2b9c 0%, #df5b38 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   Logo (White text + untouched gradient "1" badge)
   ========================================================================== */
.logo-wrap {
  position: relative;
  display: inline-block;
  width: 132px;
  height: 38px;
  flex-shrink: 0;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  left: 86%;
  top: 10%;
  width: 7.5%;
  height: 55%;
  background: #ffffff;
  z-index: 0;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-badge {
  position: relative;
  z-index: 1;
  clip-path: inset(0 0 0 81.8%);
}

.logo-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: brightness(0) invert(1);
  clip-path: inset(0 18.2% 0 0);
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

.btn-gradient {
  border: none;
  background: var(--gradient);
  background-clip: padding-box;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(193, 72, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-gradient:hover {
  background: var(--gradient-hover);
  box-shadow: 0 12px 30px rgba(193, 72, 40, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 10px var(--orange-bright);
}

.text-gradient {
  background: linear-gradient(90deg, #a799ff 0%, #df5b38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Floating Frosted-Glass Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 1rem;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.75rem 0.55rem 1.5rem;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  background:
    radial-gradient(ellipse 55% 60% at 35% 35%, var(--indigo-soft), transparent 70%),
    radial-gradient(ellipse 55% 60% at 65% 35%, var(--orange-soft), transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  margin: 1.25rem auto 1rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 820px;
}

.hero-subtitle {
  margin: 0 auto 2rem;
  max-width: 660px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 3.25rem;
}

.proof-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* Hero Safari Frame + Floating Mobile Preview */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  text-align: left;
  padding-right: 28px;
}

.safari-frame {
  width: 100%;
  max-width: 100%;
  background: #141418;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78), 0 0 80px rgba(48, 31, 124, 0.18);
}

.safari-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 48px;
  padding: 0 1rem;
  background: #18181d;
  border-bottom: 1px solid var(--border);
}

.safari-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.safari-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 0.35rem;
}

.safari-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.safari-icon {
  color: #9ca3af;
  flex-shrink: 0;
}

.safari-muted {
  opacity: 0.45;
}

.safari-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 260px;
  padding: 0.32rem 0.85rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #d1d5db;
}

.safari-refresh {
  margin-left: auto;
  color: #9ca3af;
}

.safari-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.safari-viewport {
  background: #0d0d10;
}

.safari-viewport-img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-float-card {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 245px;
}

.mobile-float-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.85));
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-head h2 {
  margin: 0.9rem 0 0.75rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

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

/* ==========================================================================
   Bento Feature Cards (Matching Reference: Top-Left Solid Icon + Corner Glow)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(193, 72, 40, 0.2) 0%, rgba(48, 31, 124, 0.12) 34%, rgba(14, 14, 18, 0.98) 72%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 1px 1px 0 rgba(223, 91, 56, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 91, 56, 0.35);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #ffffff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(193, 72, 40, 0.38);
}

.new-badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(193, 72, 40, 0.2);
  color: #ffb4a0;
  border: 1px solid rgba(193, 72, 40, 0.45);
}

.bento-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
}

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

/* ==========================================================================
   Complete Features Matrix
   ========================================================================== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.matrix-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.matrix-col h4 {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(193, 72, 40, 0.5);
}

/* ==========================================================================
   Software Glimpse Showcase (Center Spotlight + Scrolling Strip)
   ========================================================================== */
.glimpse-section {
  overflow: hidden;
}

.glimpse-stage {
  position: relative;
  width: 100%;
  padding: 1rem 0 0.5rem;
}

.glimpse-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-56%);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.glimpse-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: glimpseScroll 42s linear infinite;
}

.glimpse-stage:hover .glimpse-marquee-track {
  animation-play-state: paused;
}

.glimpse-thumb {
  width: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.35;
  filter: blur(0.4px);
  flex-shrink: 0;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.glimpse-thumb:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

.glimpse-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes glimpseScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.glimpse-spotlight-wrap {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glimpse-spotlight {
  flex: 1;
  min-width: 0;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(48, 31, 124, 0.22),
    0 0 40px rgba(193, 72, 40, 0.14);
}

.glimpse-spotlight-media {
  background: #0d0d10;
  padding: 0.75rem;
  overflow: hidden;
}

.glimpse-spotlight-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.glimpse-spotlight-media img.is-switching {
  opacity: 0;
  transform: scale(0.985);
}

.glimpse-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(16, 16, 20, 0.96);
  border-top: 1px solid var(--border);
}

.glimpse-caption h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
}

.glimpse-caption p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.glimpse-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.glimpse-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 18, 22, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.glimpse-arrow:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.06);
}

.glimpse-dots {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.glimpse-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.glimpse-dot.active {
  width: 24px;
  background: var(--gradient);
}

/* ==========================================================================
   Interactive Print & Module Tabs
   ========================================================================== */
#rotatingWord {
  transition: opacity 0.3s ease;
}

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem;
  max-width: fit-content;
  margin: 0 auto 2.25rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.active {
  background: var(--gradient);
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.showcase-single {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Interactive Thermal Receipt Printer */
.printer-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 490px;
  padding: 2.5rem 1rem 2rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(48, 31, 124, 0.16), transparent 60%),
    #0e0e11;
  border: 1px solid var(--border);
}

.printer-wrap {
  position: relative;
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.receipt-slot-mask {
  width: min(88%, 280px);
  overflow: hidden;
  padding-top: 12px;
  margin-bottom: -13px;
  position: relative;
  z-index: 4;
}

.thermal-receipt {
  position: relative;
  background: #f4f3ef;
  color: #18181b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transform: translateY(100%);
  transition: transform 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.thermal-receipt:active {
  cursor: grabbing;
}

.thermal-receipt.is-printed {
  transform: translateY(0);
}

.thermal-receipt.is-torn {
  transform: translateY(-56px) rotate(-2deg);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.receipt-tear-top {
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
  height: 8px;
  background:
    linear-gradient(-45deg, #f4f3ef 5px, transparent 0),
    linear-gradient(45deg, #f4f3ef 5px, transparent 0);
  background-size: 10px 10px;
  background-repeat: repeat-x;
}

.receipt-tear-bottom {
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 8px;
  background:
    linear-gradient(135deg, #f4f3ef 5px, transparent 0),
    linear-gradient(-135deg, #f4f3ef 5px, transparent 0);
  background-size: 10px 10px;
  background-repeat: repeat-x;
}

.receipt-body {
  padding: 1.25rem 1.15rem 1.5rem;
  font-size: 0.74rem;
  line-height: 1.45;
}

.receipt-brand {
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.receipt-sub {
  text-align: center;
  font-size: 0.65rem;
  color: #52525b;
  margin-top: 2px;
}

.receipt-divider {
  border-top: 1px dashed #a1a1aa;
  margin: 0.65rem 0;
}

.receipt-meta,
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.receipt-meta {
  font-size: 0.68rem;
  color: #52525b;
}

.receipt-row {
  margin-bottom: 0.25rem;
}

.receipt-muted {
  color: #52525b;
}

.receipt-total {
  margin-top: 0.35rem;
  font-weight: 800;
  font-size: 0.86rem;
}

.receipt-barcode {
  height: 30px;
  margin: 0.85rem auto 0.25rem;
  width: 82%;
  background: repeating-linear-gradient(
    90deg,
    #18181b 0 2px,
    transparent 2px 4px,
    #18181b 4px 7px,
    transparent 7px 8px,
    #18181b 8px 9px,
    transparent 9px 12px
  );
}

.receipt-code {
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: #3f3f46;
}

.receipt-thanks {
  text-align: center;
  font-size: 0.66rem;
  color: #52525b;
  margin-top: 0.65rem;
}

.printer-base {
  position: relative;
  width: min(100%, 320px);
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #27272d 0%, #151519 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  z-index: 3;
}

.printer-slot-lip {
  position: absolute;
  top: 6px;
  left: 16px;
  right: 16px;
  height: 6px;
  border-radius: 999px;
  background: #070709;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}

.printer-led {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.printer-btn {
  font-size: 0.82rem;
}

.showcase-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.showcase-grid-3 img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.showcase-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.img-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.img-card figcaption {
  padding: 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at center, rgba(48, 31, 124, 0.14), transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.stat-box p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(193, 72, 40, 0.18), rgba(48, 31, 124, 0.12) 45%, #111115 80%);
  border-color: rgba(223, 91, 56, 0.45);
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffb4a0;
}

.pricing-price {
  font-size: 2.1rem;
  font-weight: 800;
}

.pricing-price span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials & FAQ
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.review-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.review-card footer strong {
  display: block;
  font-size: 0.9rem;
}

.review-card footer span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--orange-bright);
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   Demo & Contact Section
   ========================================================================== */
.demo-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  background:
    radial-gradient(circle at 0% 100%, rgba(48, 31, 124, 0.22), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(193, 72, 40, 0.16), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 2.5rem;
}

.demo-media h2 {
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
}

.demo-media p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  opacity: 0.88;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-thumb:hover img {
  transform: scale(1.02);
  opacity: 1;
}

.play-circle {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.demo-form-card {
  background: rgba(13, 13, 16, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
}

.demo-form-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #d1d5db;
}

.field input,
.field select {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  background-color: #18181f;
  border: 1px solid var(--border-strong);
  font-size: 0.92rem;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d1d5db' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange-bright);
  outline: none;
}

.form-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-status.ok {
  color: #34d399;
}

.form-status.err {
  color: #fca5a5;
}

/* ==========================================================================
   Mobile Strip & Footer
   ========================================================================== */
.mobile-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(48, 31, 124, 0.16), rgba(193, 72, 40, 0.14));
}

.mobile-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.mobile-strip h3 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
}

.mobile-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.site-footer {
  background: #000000;
  padding: 4rem 0 1.75rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
}

.site-footer h5 {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.heart {
  color: var(--orange-bright);
}

/* ==========================================================================
   Native Video Dialog
   ========================================================================== */
.video-dialog {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 0;
  background: #000000;
  width: min(92vw, 880px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.dialog-box {
  position: relative;
}

.dialog-box video {
  display: block;
  width: 100%;
  max-height: 80vh;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 95;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #2ce070;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.22);
}

@media (max-width: 480px) {
  .whatsapp-fab {
    left: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   Smooth Fade-Up Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .nav-pill {
    gap: 0.75rem;
    padding: 0.5rem 0.65rem 0.5rem 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .bento-grid,
  .matrix-grid,
  .reviews-grid,
  .showcase-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    padding-right: 0;
  }

  .mobile-float-card {
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 1.25rem auto 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-inline: 0.65rem;
  }

  .nav-pill {
    gap: 0.65rem;
    padding: 0.48rem 0.6rem 0.48rem 0.95rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(16, 16, 20, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .safari-toolbar {
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
  }

  .safari-right,
  .safari-left .safari-icon {
    display: none;
  }

  .safari-address {
    min-width: 0;
    width: 100%;
  }

  .bento-grid,
  .matrix-grid,
  .pricing-grid,
  .reviews-grid,
  .showcase-grid-3,
  .showcase-grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glimpse-marquee {
    display: none;
  }

  .glimpse-spotlight-wrap {
    width: calc(100% - 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .glimpse-spotlight {
    flex: 0 0 100%;
    order: 1;
  }

  .glimpse-arrow-prev {
    order: 2;
  }

  .glimpse-arrow-next {
    order: 3;
  }

  .demo-wrapper {
    padding: 1.35rem;
  }
}

@media (max-width: 480px) {
  .logo-wrap {
    width: 98px;
    height: 28px;
  }

  .nav-pill {
    gap: 0.4rem;
    padding: 0.42rem 0.5rem 0.42rem 0.75rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn-sm {
    padding: 0.42rem 0.72rem;
    font-size: 0.74rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    padding: 0 8px;
  }

  .pill-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.72rem;
  }
}
