/* FoolProof marketing — shared styles for interior pages (POS, Inventory, Storefront,
   Reports, Compliance, Support). Mirrors the homepage's dark+gold brand so every page of
   the site feels like one product. The homepage keeps its own inline styles; this file is
   the shared system for the sub-pages. */

:root {
  --bg-0: #0a0806;
  --bg-1: #140d07;
  --panel: rgba(26, 19, 11, 0.62);
  --border: rgba(244, 213, 139, 0.18);
  --text: #eef3f6;
  --muted: #94a6b6;
  --gold: #f4d58b;
  --gold-strong: #ffd86a;
  --gold-deep: #c89231;
  --ink: #1a1206;
}
* { box-sizing: border-box; }
html { background: var(--bg-0); scroll-behavior: smooth; }
:target, .section { scroll-margin-top: 88px; }
body {
  margin: 0; color: var(--text); overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  background:
    radial-gradient(1100px 640px at 82% -6%, rgba(244,213,139,0.10), transparent 58%),
    linear-gradient(180deg, #0c0a07 0%, var(--bg-0) 42%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold-strong); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; margin: 0; }

/* Pills / eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(244,213,139,0.08); color: var(--gold-strong); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--gold-strong); box-shadow: 0 0 0 0 rgba(255,216,106,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,216,106,.5)} 70%{box-shadow:0 0 0 8px rgba(255,216,106,0)} 100%{box-shadow:0 0 0 0 rgba(255,216,106,0)} }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 13px; font-weight: 700; font-size: 0.96rem; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform .14s ease, box-shadow .2s, border-color .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--ink); box-shadow: 0 14px 34px rgba(200,146,49,0.32); }
.btn-gold:hover { box-shadow: 0 20px 48px rgba(200,146,49,0.5); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(244,213,139,0.5); background: rgba(244,213,139,0.06); }

/* Nav (same as homepage) */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: linear-gradient(180deg, rgba(5,9,15,0.82), rgba(5,9,15,0.42)); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand img { height: 34px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .login { color: var(--text); font-weight: 600; font-size: 0.92rem; padding: 9px 14px; white-space: nowrap; }

/* Page hero */
.phero { padding: 74px 0 20px; position: relative; }
.phero .wrap { position: relative; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }
.crumb a:hover { color: var(--text); }
.crumb .sep { opacity: 0.5; }
.phero-grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 46px; align-items: center; }
.phero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 18px 0 18px; }
.phero h1 .shimmer { background: linear-gradient(100deg, var(--gold) 20%, #fff4d2 45%, var(--gold-deep) 70%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.phero p.lead { color: #c3cdd6; font-size: 1.12rem; max-width: 48ch; margin: 0 0 26px; line-height: 1.62; }
.phero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Browser-chrome product frame */
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0b1119; box-shadow: 0 40px 110px rgba(0,0,0,0.66), 0 0 0 1px rgba(255,255,255,0.03) inset; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); border-bottom: 1px solid rgba(255,255,255,0.06); }
.shot-bar i { width: 11px; height: 11px; border-radius: 999px; display: block; }
.shot-bar i:nth-child(1){ background:#ff5f57 } .shot-bar i:nth-child(2){ background:#febc2e } .shot-bar i:nth-child(3){ background:#28c840 }
.shot-bar .url { margin-left: 12px; font-size: 0.72rem; color: var(--muted); background: rgba(0,0,0,0.35); border-radius: 7px; padding: 4px 12px; }
.shot img { display: block; width: 100%; height: auto; }
.shot-wrap { position: relative; }
.shot-wrap .glow { position: absolute; inset: -14% -6% -6% -6%; background: radial-gradient(58% 58% at 62% 34%, rgba(255,186,86,0.22), transparent 70%); filter: blur(24px); z-index: -1; }

/* Sections */
.section { padding: 68px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }
.rule { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); margin: 18px auto 0; }

/* Feature grid — glowing cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 26px 24px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel); backdrop-filter: blur(10px); overflow: hidden; transition: transform .16s ease, border-color .2s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(244,213,139,0.4); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--border); background: radial-gradient(120% 120% at 30% 20%, rgba(244,213,139,0.22), rgba(244,213,139,0.06)); color: var(--gold-strong); margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.93rem; margin: 0; line-height: 1.55; }

/* Alternating split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split + .split { margin-top: 60px; }
.split.rev .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 14px; }
.split-copy p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; max-width: 46ch; }

/* Checkmark list */
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; color: #d7dee6; font-size: 0.98rem; }
.checks svg { width: 20px; height: 20px; color: var(--gold-strong); flex: 0 0 auto; margin-top: 1px; }

/* Prose (compliance / support body copy) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; color: var(--gold-strong); margin: 34px 0 10px; }
.prose p { color: #c7d0d9; line-height: 1.7; margin: 0 0 12px; }
.prose ul { color: #c7d0d9; line-height: 1.7; padding-left: 20px; margin: 0 0 12px; }
.prose a.inline { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 2px; }
.note { margin-top: 30px; font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* Support contact cards */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.support-card { border-radius: 20px; border: 1px solid var(--border); background: var(--panel); padding: 26px 24px; }
.support-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--border); background: rgba(244,213,139,0.08); color: var(--gold-strong); margin-bottom: 14px; }
.support-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.support-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; line-height: 1.55; }
.support-card a.link { color: var(--gold-strong); font-weight: 600; font-size: 0.92rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-strong); font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); line-height: 1.65; margin: 0 0 16px; font-size: 0.95rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(120deg, rgba(24,36,49,0.9), rgba(10,18,27,0.9)); padding: 50px 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 120% at 90% 10%, rgba(255,216,106,0.16), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 20ch; }
.cta-band p { color: var(--muted); margin: 12px 0 0; max-width: 46ch; font-size: 0.98rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
footer { margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.07); }
.foot-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 46px 0 30px; }
.foot-brand .brand img { height: 30px; }
.foot-brand p { color: var(--muted); font-size: 0.9rem; max-width: 32ch; margin: 12px 0 0; line-height: 1.55; }
.foot-col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-strong); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 34px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 0.84rem; }

@media (max-width: 940px) {
  .phero-grid { grid-template-columns: 1fr; gap: 30px; }
  .phero-grid .shot-wrap { order: -1; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 24px; }
  .split.rev .split-copy { order: -1; }
  .feature-grid, .support-grid, .foot-main { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .support-grid, .foot-main { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .nav-inner { height: 62px; } .nav-cta { gap: 9px; } .brand { font-size: 1.15rem; } .brand img { height: 30px; }
  .nav-cta .login { padding: 8px 8px; } .nav-cta .btn-gold { padding: 11px 15px; font-size: 0.88rem; }
}
