/* RushTech POS — Landing Page Shared Styles */
:root {
  --lp-ink:     #0f172a;
  --lp-teal:    #0f766e;
  --lp-teal-dk: #0d6154;
  --lp-amber:   #f59e0b;
  --lp-muted:   #64748b;
  --lp-line:    #e2e8f0;
  --lp-soft:    #f8fafc;
  --lp-paper:   #ffffff;
  --lp-success: #16a34a;
  --lp-danger:  #dc2626;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--lp-ink); line-height: 1.6; background: var(--lp-paper); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ─────────────────────────────────────────── */
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.lp-section { padding: 80px 22px; max-width: 1180px; margin: 0 auto; }
.lp-section-wrap { padding: 80px 0; }
.lp-section-wrap.soft { background: var(--lp-soft); }
.lp-section-wrap.dark { background: var(--lp-ink); color: #fff; }

/* ── Nav ────────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--lp-line);
  backdrop-filter: blur(14px);
}
.lp-nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; padding-top: 13px; padding-bottom: 13px;
}
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; color: var(--lp-ink);
}
.lp-brand img { border-radius: 8px; border: 1px solid var(--lp-line); object-fit: contain; flex-shrink: 0; }
.lp-nav-links { display: flex; align-items: center; gap: 4px; }
.lp-nav-links .nav-link {
  padding: 8px 13px; border-radius: 8px;
  font-weight: 600; font-size: 14px; color: #475569;
  transition: .15s;
}
.lp-nav-links .nav-link:hover { color: var(--lp-teal); background: rgba(15,118,110,.06); }
.lp-nav-links .nav-link.active { color: var(--lp-teal); background: rgba(15,118,110,.08); }
.lp-nav-right { display: flex; align-items: center; gap: 10px; }

.lp-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  border: 1px solid var(--lp-line); border-radius: 8px;
  background: none; cursor: pointer; padding: 9px;
}
.lp-hamburger span { display: block; height: 2px; background: var(--lp-ink); border-radius: 2px; transition: .2s; }
.lp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-hamburger.open span:nth-child(2) { opacity: 0; }
.lp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-mobile-nav {
  display: none; flex-direction: column;
  padding: 12px 22px 18px; border-top: 1px solid var(--lp-line);
  background: #fff; gap: 2px;
}
.lp-mobile-nav.open { display: flex; }
.lp-mobile-nav a {
  padding: 12px 0; font-weight: 600; font-size: 15px;
  color: #334155; border-bottom: 1px solid var(--lp-line);
}
.lp-mobile-nav a:last-child { border: none; }
.lp-mobile-nav a.active { color: var(--lp-teal); }

/* ── Buttons ────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: .15s; white-space: nowrap;
}
.lp-btn-primary { background: var(--lp-teal); color: #fff; box-shadow: 0 8px 20px rgba(15,118,110,.22); }
.lp-btn-primary:hover { background: var(--lp-teal-dk); }
.lp-btn-amber { background: var(--lp-amber); color: #111; box-shadow: 0 8px 20px rgba(245,158,11,.25); }
.lp-btn-amber:hover { background: #d97706; }
.lp-btn-outline { border-color: var(--lp-teal); color: var(--lp-teal); background: #fff; }
.lp-btn-outline:hover { background: var(--lp-teal); color: #fff; }
.lp-btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.1); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.2); }
.lp-btn-dark { background: var(--lp-ink); color: #fff; }
.lp-btn-dark:hover { background: #1e293b; }
.lp-btn-lg { min-height: 52px; padding: 13px 28px; font-size: 16px; }

/* ── Typography ─────────────────────────────────────────── */
.lp-kicker {
  display: inline-block; color: var(--lp-teal);
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; margin-bottom: 10px;
}
.lp-kicker.light { color: rgba(255,255,255,.6); }
.lp-h1 { font-size: clamp(32px,5vw,64px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.lp-h2 { font-size: clamp(26px,3.8vw,42px); line-height: 1.1; letter-spacing: -.015em; font-weight: 800; }
.lp-h3 { font-size: clamp(18px,2.4vw,24px); line-height: 1.25; font-weight: 700; }
.lp-lead { color: var(--lp-muted); font-size: 18px; line-height: 1.7; }
.lp-lead.light { color: rgba(255,255,255,.78); }
.lp-section-head { max-width: 640px; margin-bottom: 48px; }
.lp-section-head.center { text-align: center; margin-inline: auto; }
.lp-section-head .lp-h2 { margin: 8px 0 14px; }

/* ── Grid helpers ───────────────────────────────────────── */
.lp-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-split.flip > *:first-child { order: 2; }
.lp-split.flip > *:last-child  { order: 1; }

/* ── Cards ──────────────────────────────────────────────── */
.lp-card {
  background: #fff; border: 1px solid var(--lp-line);
  border-radius: 16px; padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.lp-card:hover { box-shadow: 0 16px 40px rgba(15,23,42,.1); transform: translateY(-3px); }
.lp-card h3 { margin: 16px 0 10px; }
.lp-card p { color: var(--lp-muted); margin: 0; font-size: 15px; }

.lp-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0;
}
.lp-icon.teal { background: rgba(15,118,110,.1); color: var(--lp-teal); }
.lp-icon.amber { background: rgba(245,158,11,.1); color: var(--lp-amber); }
.lp-icon.ink   { background: rgba(15,23,42,.08);  color: var(--lp-ink); }
.lp-icon.green { background: rgba(22,163,74,.1);  color: var(--lp-success); }

/* ── Check list ─────────────────────────────────────────── */
.lp-checks { display: grid; gap: 10px; margin: 20px 0; }
.lp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; color: #1e293b; }
.lp-tick { flex-shrink:0; width:22px; height:22px; border-radius:6px; background:var(--lp-success); color:#fff; display:grid; place-items:center; font-size:13px; margin-top:1px; }

/* ── Hero ───────────────────────────────────────────────── */
.lp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #0f2a28 55%, #0f3d36 100%);
  color: #fff; overflow: hidden; position: relative;
}
.lp-hero::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,118,110,.22) 0%, transparent 70%);
  top: -180px; right: -100px;
}
.lp-hero::after {
  content: ''; position: absolute;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
  bottom: -100px; left: -60px;
}
.lp-hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 88px 22px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
/* mobile default: slideshow (first in DOM) stays on top */
.lp-hero-inner > *:first-child { order: 1; }
.lp-hero-inner > *:last-child  { order: 2; }
/* desktop: flip — text left, slideshow right */
@media (min-width: 961px) {
  .lp-hero-inner > *:first-child { order: 2; }
  .lp-hero-inner > *:last-child  { order: 1; }
}
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 20px;
}
.lp-hero .lp-h1 { color: #fff; margin-bottom: 18px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-hero-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.lp-hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); }
.lp-hero-badge svg { width: 18px; height: 18px; color: var(--lp-teal); fill: var(--lp-teal); flex-shrink: 0; }

/* ── Hero slideshow ─────────────────────────────────────── */
.lp-slide-box {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 16px;
  box-shadow: 0 28px 60px rgba(0,0,0,.3);
  min-height: 380px;
}
.lp-slide-item { position: absolute; inset: 16px; opacity: 0; transition: opacity .9s ease; }
.lp-slide-item.active { opacity: 1; }
.lp-slide-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

/* ── Trust strip ────────────────────────────────────────── */
.lp-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; border-bottom: 1px solid var(--lp-line);
  background: var(--lp-soft);
}
.lp-trust-item {
  flex: 1 1 200px; padding: 24px 28px;
  border-right: 1px solid var(--lp-line);
  display: flex; align-items: center; gap: 14px;
}
.lp-trust-item:last-child { border-right: none; }
.lp-trust-item strong { display: block; font-size: 24px; font-weight: 800; color: var(--lp-ink); line-height: 1; }
.lp-trust-item span { display: block; font-size: 13px; color: var(--lp-muted); font-weight: 600; margin-top: 4px; }

/* ── Process steps ──────────────────────────────────────── */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: lp-step; }
.lp-step {
  padding: 36px 28px; border-right: 1px solid var(--lp-line);
  counter-increment: lp-step; position: relative;
}
.lp-step:last-child { border-right: none; }
.lp-step::before {
  content: counter(lp-step, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 800;
  color: var(--lp-teal); letter-spacing: .06em; margin-bottom: 16px;
}
.lp-step h3 { font-size: 18px; margin-bottom: 8px; }
.lp-step p { color: var(--lp-muted); font-size: 14px; margin: 0; }

/* ── Page hero (inner pages) ────────────────────────────── */
.lp-page-hero {
  background: linear-gradient(135deg, #0f172a, #0f2a28);
  color: #fff; padding: 64px 22px 76px;
}
.lp-page-hero-inner { max-width: 1180px; margin: 0 auto; }
.lp-breadcrumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.lp-breadcrumb a { color: rgba(255,255,255,.65); }
.lp-breadcrumb a:hover { color: #fff; }
.lp-page-hero .lp-h1 { font-size: clamp(28px,4.5vw,52px); color: #fff; max-width: 700px; margin: 10px 0 16px; }
.lp-page-hero .lp-lead { max-width: 580px; }

/* ── Feature cards ──────────────────────────────────────── */
.lp-feat { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-feat-body h3 { font-size: 16px; margin-bottom: 6px; }
.lp-feat-body p { color: var(--lp-muted); font-size: 14px; margin: 0; }

/* ── Demo cards ─────────────────────────────────────────── */
.lp-demo-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 28px; text-align: center;
  transition: all .25s;
}
.lp-demo-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.lp-demo-icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px; }
.lp-demo-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.lp-demo-card p { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 18px; }
.lp-demo-creds { background: rgba(0,0,0,.22); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; text-align: left; font-size: 13px; color: rgba(255,255,255,.55); }
.lp-demo-creds span { color: #fbbf24; font-weight: 700; }

/* ── Pricing teaser ─────────────────────────────────────── */
.lp-price-pill {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 36px; font-weight: 800; color: var(--lp-teal);
}
.lp-price-pill sub { font-size: 16px; font-weight: 600; color: var(--lp-muted); }

/* ── CTA band ───────────────────────────────────────────── */
.lp-cta-band {
  background: linear-gradient(135deg, var(--lp-teal), #0d4d47);
  color: #fff; border-radius: 16px; padding: 52px 44px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 28px;
}
.lp-cta-band h2 { color: #fff; font-size: clamp(22px,3vw,34px); margin: 0 0 10px; }
.lp-cta-band p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0; }

/* ── Contact ────────────────────────────────────────────── */
.lp-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.lp-contact-panel { background: linear-gradient(160deg, #0f172a, #0f2a28); color: #fff; border-radius: 16px; padding: 36px; }
.lp-contact-panel h2 { color: #fff; font-size: clamp(20px,2.8vw,30px); margin: 0 0 12px; }
.lp-contact-panel p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0 0 24px; }
.lp-cinfo { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.lp-cinfo-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0; }
.lp-cinfo-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-cinfo strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); margin-bottom: 3px; }
.lp-cinfo a, .lp-cinfo span { color: #fff; font-weight: 700; font-size: 15px; }
.lp-form-card { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 36px; }
.lp-form-card h2 { font-size: clamp(18px,2.4vw,26px); margin: 0 0 6px; }
.lp-form-card > p { color: var(--lp-muted); font-size: 14px; margin: 0 0 24px; }
.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-full { grid-column: 1 / -1; }
.lp-label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: #334155; }
.lp-input, .lp-select, .lp-textarea {
  width: 100%; border: 1px solid var(--lp-line); border-radius: 10px;
  padding: 11px 14px; font: inherit; color: var(--lp-ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.lp-input:focus, .lp-select:focus, .lp-textarea:focus {
  outline: none; border-color: var(--lp-teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.lp-textarea { min-height: 130px; resize: vertical; }
.lp-alert { padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.lp-alert.success { background: #ecfdf5; color: #14532d; border: 1px solid #bbf7d0; }
.lp-alert.error   { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }

/* ── FAQ ────────────────────────────────────────────────── */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq-item { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; overflow: hidden; }
.lp-faq-q {
  width: 100%; text-align: left; padding: 18px 22px;
  font-weight: 700; font-size: 15px; background: none;
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: space-between; gap: 12px;
  color: var(--lp-ink); font-family: inherit;
}
.lp-faq-q svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--lp-muted); transition: transform .25s; }
.lp-faq-item.open .lp-faq-q svg { transform: rotate(180deg); }
.lp-faq-a { display: none; padding: 0 22px 18px; color: var(--lp-muted); font-size: 15px; line-height: 1.7; }
.lp-faq-item.open .lp-faq-a { display: block; }

/* ── Footer ─────────────────────────────────────────────── */
.lp-footer { background: #0b1320; color: #94a3b8; padding: 56px 22px 28px; }
.lp-footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 12px; }
.lp-footer-brand img { border-radius: 6px; border: 1px solid rgba(255,255,255,.14); object-fit: contain; }
.lp-footer-desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.45); max-width: 280px; }
.lp-footer h5 { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.lp-footer a { display: block; color: rgba(255,255,255,.55); font-size: 14px; padding: 4px 0; transition: color .15s; }
.lp-footer a:hover { color: #fff; }
.lp-social { display: flex; gap: 10px; margin-top: 18px; }
.lp-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.65); transition: .15s; }
.lp-social a svg { width: 16px; height: 16px; }
.lp-social a:hover { background: rgba(255,255,255,.14); color: #fff; }
.lp-footer-bottom { max-width: 1180px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.3); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .lp-nav-links { display: none; }
  .lp-hamburger { display: flex; }
  .lp-hero-inner { grid-template-columns: 1fr; padding: 64px 22px 72px; }
  .lp-slide-box { min-height: 260px; }
  .lp-split, .lp-contact-grid { grid-template-columns: 1fr; }
  .lp-split.flip > * { order: unset; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-step { border-right: none; border-bottom: 1px solid var(--lp-line); padding: 28px 22px; }
  .lp-step:last-child { border-bottom: none; }
  .lp-grid-4 { grid-template-columns: repeat(2,1fr); }
  .lp-cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .lp-section { padding: 52px 16px; }
  .lp-section-wrap { padding: 52px 0; }
  .lp-page-hero { padding: 48px 16px 60px; }
  .lp-hero-inner { padding: 52px 16px 64px; }
  .lp-grid-4 { grid-template-columns: 1fr; }
  .lp-fields { grid-template-columns: 1fr; }
  .lp-cta-band { padding: 28px 20px; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-footer-bottom { flex-direction: column; align-items: flex-start; }
  .lp-trust-item { border-right: none; border-bottom: 1px solid var(--lp-line); }
  .lp-hero-badges { gap: 14px; }
  .lp-demo-card { padding: 22px; }
}
