/* =========================================================================
   OrdrPro POS — marketing site styles
   Fixed dark/light identity (navy hero/CTA/footer, warm-paper content
   sections) — a deliberate brand contrast, not a viewer-theme toggle.
   ========================================================================= */

:root{
  --navy-950:#0a0e1a;
  --navy-900:#0f1420;
  --navy-800:#171e2e;
  --navy-700:#242c40;
  --orange-500:#f97316;
  --orange-600:#ea580c;
  --orange-100:#ffe8d6;
  --paper:#f7f7f4;
  --paper-raised:#ffffff;
  --ink-900:#12141c;
  --ink-700:#33384a;
  --ink-600:#565b6b;
  --ink-400:#8b90a0;
  --line:#e4e4df;
  --line-dark:#232a3d;
  --good:#22c55e;
  --info:#3b82f6;
  --violet:#8b5cf6;
  --amber:#f59e0b;
  --red:#ef4444;

  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow-card: 0 1px 2px rgba(18,20,28,.04), 0 8px 24px -12px rgba(18,20,28,.12);
  --shadow-pop: 0 20px 60px -20px rgba(10,14,26,.45);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-900);
  font-family:var(--font-ui);
  -webkit-font-smoothing:antialiased;
  font-variant-numeric: tabular-nums;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3{ text-wrap:balance; margin:0; }
p{ margin:0; }
:focus-visible{ outline:2px solid var(--orange-500); outline-offset:2px; }
.wrap{ max-width:1240px; margin:0 auto; padding-inline:32px; }
@media (max-width:720px){ .wrap{ padding-inline:20px; } }

/* ============================= NAV ============================= */
.nav{
  position:sticky; top:0; z-index:40;
  background:rgba(10,14,26,.9);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line-dark);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand-mark{ width:34px; height:34px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-text b{ color:#fff; font-size:18px; font-weight:800; letter-spacing:-0.01em; }
.brand-text b em{ color:var(--orange-500); font-style:normal; }
.brand-text span{ color:#fff; font-size:9.5px; font-weight:700; letter-spacing:.14em; margin-top:2px; text-align:right; }

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-link{
  display:flex; align-items:center; gap:4px;
  color:#c7cbdb; font-size:14.5px; font-weight:500;
  padding:8px 0; transition:color .15s ease;
}
.nav-link:hover{ color:#fff; }
.nav-link svg{ width:13px; height:13px; opacity:.7; }

.nav-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:14.5px; font-weight:700; border-radius:9px; border:1px solid transparent;
  padding:11px 20px; white-space:nowrap; transition:transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--orange-500); color:#fff; box-shadow:0 8px 20px -8px rgba(249,115,22,.55); }
.btn-primary:hover{ background:var(--orange-600); }
.btn-ghost-dark{ background:transparent; color:#fff; border-color:#333c54; }
.btn-ghost-dark:hover{ border-color:#4c577a; background:#141a2a; }
.btn-login{ color:#c7cbdb; font-size:14.5px; font-weight:600; padding:8px 4px; }
.btn-login:hover{ color:#fff; }
.btn-sm{ padding:9px 16px; font-size:13.5px; }

.nav-burger{ display:none; width:40px; height:40px; align-items:center; justify-content:center; background:none; border:1px solid #333c54; border-radius:8px; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after{
  content:""; display:block; width:16px; height:2px; background:#fff; position:relative; transition:.2s;
}
.nav-burger span::before{ position:absolute; top:-5px; }
.nav-burger span::after{ position:absolute; top:5px; }

/* ============================= HERO ============================= */
.hero{
  position:relative;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(249,115,22,.16), transparent 60%),
    radial-gradient(50% 50% at 8% 90%, rgba(139,92,246,.10), transparent 60%),
    var(--navy-950);
  padding:76px 0 96px;
  overflow:hidden;
  border-bottom:1px solid var(--line-dark);
}
.hero-grid{ display:grid; grid-template-columns:minmax(340px,460px) 1fr; gap:56px; align-items:center; }
.eyebrow-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(249,115,22,.12); border:1px solid rgba(249,115,22,.35);
  color:var(--orange-500); font-size:12.5px; font-weight:700;
  padding:6px 12px; border-radius:99px; margin-bottom:22px;
}
.eyebrow-badge svg{ width:13px; height:13px; }
.hero h1{
  color:#fff; font-size:46px; line-height:1.08; font-weight:800; letter-spacing:-0.02em;
}
.hero h1 em{ color:var(--orange-500); font-style:normal; }
.hero-sub{
  color:#a7acc0; font-size:16.5px; line-height:1.6; margin-top:20px; max-width:44ch;
}
.hero-ctas{ display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.hero-ctas .btn{ padding:13px 22px; font-size:15px; }

.trust-badges{ display:flex; gap:14px; margin-top:40px; flex-wrap:nowrap; }
.trust-badge{ display:flex; align-items:center; gap:6px; min-width:0; }
.trust-badge .ic{
  width:26px; height:26px; border-radius:8px; background:var(--navy-800); border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.trust-badge .ic svg{ width:13px; height:13px; color:var(--orange-500); }
.trust-badge span{ color:#c7cbdb; font-size:10px; font-weight:600; white-space:nowrap; }
@media (max-width:420px){
  .trust-badges{ gap:8px; }
  .trust-badge{ gap:5px; }
  .trust-badge .ic{ width:22px; height:22px; }
  .trust-badge .ic svg{ width:11px; height:11px; }
  .trust-badge span{ font-size:8.5px; }
}

/* hero product illustration (assets/images/hero-illustration.svg) */
.hero-illustration{ position:relative; }
.hero-illustration img{
  width:100%; height:auto; display:block;
  border-radius:16px;
  box-shadow:var(--shadow-pop);
}

/* ============================= TRUSTED ============================= */
.trusted{ padding:40px 0 56px; text-align:center; border-bottom:1px solid var(--line); }
.trusted p{ font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-400); margin-bottom:12px; }
.trusted-logo{
  display:inline-flex; align-items:center; justify-content:center;
  padding:16px 26px; border:1px solid var(--line); border-radius:14px; background:var(--paper-raised); box-shadow:var(--shadow-card);
}
.trusted-logo .mark{ width:64px; height:64px; object-fit:contain; }
.trusted-logo .txt{ text-align:left; line-height:1.2; }
.trusted-logo .txt b{ display:block; font-size:15px; color:var(--ink-900); font-weight:800; letter-spacing:-0.01em; }
.trusted-logo .txt span{ font-size:10.5px; color:var(--ink-400); font-weight:600; letter-spacing:.03em; }

/* ============================= SECTION HEADS ============================= */
.section{ padding:88px 0; }
.section-head{ text-align:center; max-width:620px; margin:0 auto 48px; }
.section-head h2{ font-size:32px; font-weight:800; letter-spacing:-0.015em; color:var(--ink-900); }
.section-head p{ font-size:15.5px; color:var(--ink-600); margin-top:12px; line-height:1.55; }

/* keeps the longer Features heading on a single line on tablet/desktop;
   still wraps gracefully on narrow phones instead of overflowing */
.section-head-wide{ max-width:820px; }
.section-head-wide h2{ white-space:nowrap; }
@media (max-width:760px){
  .section-head-wide h2{ white-space:normal; font-size:26px; }
}

/* ============================= FEATURES ============================= */
.feat-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.feat-card{
  background:var(--paper-raised); border:1px solid var(--line); border-radius:14px; padding:20px;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.feat-card:hover{ border-color:#d8d8d1; box-shadow:var(--shadow-card); transform:translateY(-2px); }
.feat-ic{ width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.feat-ic svg{ width:18px; height:18px; }
.feat-card h3{ font-size:14.5px; font-weight:700; color:var(--ink-900); letter-spacing:-0.005em; }
.feat-card p{ font-size:12.5px; color:var(--ink-600); margin-top:6px; line-height:1.5; }

/* ============================= IN ACTION ============================= */
.shot-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.shot-card{ display:flex; flex-direction:column; gap:10px; }
.shot-frame{
  aspect-ratio:4/3; border-radius:12px; border:1px solid var(--line); overflow:hidden;
  background:var(--paper-raised); box-shadow:var(--shadow-card);
}
.shot-frame img{ width:100%; height:100%; object-fit:cover; }
.shot-cap{ font-size:12.5px; font-weight:700; color:var(--ink-700); text-align:center; }

/* ============================= PRICING ============================= */
.price-card{
  max-width:900px; margin:0 auto; background:var(--paper-raised);
  border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-card);
  display:grid; grid-template-columns:280px 1fr; overflow:hidden;
}
.price-left{ padding:36px 32px; background:linear-gradient(165deg,#141a2a,var(--navy-950)); color:#fff; display:flex; flex-direction:column; }
.price-left h3{ font-size:19px; font-weight:800; }
.price-left .desc{ font-size:12.5px; color:#a7acc0; margin-top:6px; line-height:1.5; }
.price-amt{ margin-top:26px; display:flex; align-items:baseline; gap:6px; }
.price-amt b{ font-size:36px; font-weight:800; letter-spacing:-0.02em; }
.price-amt span{ font-size:12.5px; color:#a7acc0; white-space: nowrap; }
.price-left .btn{ margin-top:22px; width:100%; }
.price-left .fine{ font-size:11px; color:#7d8399; margin-top:12px; text-align:center; }

.price-right{ padding:32px; }
.price-right .heading{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-400); margin-bottom:16px; }
.check-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; }
.check-item{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--ink-700); font-weight:500; }
.check-item svg{ width:15px; height:15px; color:var(--good); flex-shrink:0; }

/* ============================= CTA BAND ============================= */
.cta-band{ background:var(--navy-950); padding:44px 0; border-top:1px solid var(--line-dark); }
.cta-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-row h3{ font-size:22px; font-weight:800; color:#fff; letter-spacing:-0.01em; }
.cta-row p{ font-size:13.5px; color:#a7acc0; margin-top:5px; }
.cta-row .actions{ display:flex; gap:12px; flex-shrink:0; }

/* ============================= FOOTER ============================= */
.footer{ background:var(--navy-950); border-top:1px solid var(--line-dark); padding:64px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.3fr; gap:32px; }
.foot-brand p{ font-size:13px; color:#8b90a0; line-height:1.6; margin-top:14px; max-width:30ch; }
.foot-col h6{ font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#c7cbdb; margin-bottom:16px; }
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.foot-col a{ font-size:13.5px; color:#8b90a0; transition:color .15s; }
.foot-col a:hover{ color:#fff; }
.foot-news p{ font-size:13px; color:#8b90a0; margin-bottom:14px; line-height:1.5; }
.news-form{ display:flex; gap:8px; }
.news-form input{
  flex:1; min-width:0; background:var(--navy-900); border:1px solid var(--line-dark); border-radius:8px;
  padding:10px 12px; font-size:13px; color:#fff; font-family:inherit;
}
.news-form input::placeholder{ color:#5c6178; }
.news-form button{ background:var(--orange-500); color:#fff; border:none; border-radius:8px; padding:0 16px; font-size:13px; font-weight:700; }
.social-row{ display:flex; gap:10px; margin-top:18px; }
.social-row a{ width:32px; height:32px; border-radius:8px; background:var(--navy-900); border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:14px; height:14px; color:#c7cbdb; }
.foot-bottom{ margin-top:48px; padding-top:24px; border-top:1px solid var(--line-dark); text-align:center; }
.foot-bottom p{ font-size:12.5px; color:#5c6178; }

/* ============================= RESPONSIVE ============================= */
@media (max-width:1080px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-illustration{ max-width:560px; margin:0 auto; }
  .feat-grid{ grid-template-columns:repeat(3,1fr); }
  .shot-row{ grid-template-columns:repeat(3,1fr); }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-links.nav-links-open{
    display:flex; position:absolute; top:72px; left:0; right:0; flex-direction:column;
    background:var(--navy-950); padding:20px 24px; gap:18px; border-bottom:1px solid var(--line-dark);
  }
  .nav-burger{ display:flex; }
  .price-card{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .hero{ padding:48px 0 64px; }
  .hero h1{ font-size:34px; }
  .btn-login{ display:none; }
  .feat-grid{ grid-template-columns:repeat(2,1fr); }
  .shot-row{ grid-template-columns:repeat(2,1fr); }
  .check-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:28px 20px; }
  .cta-row{ text-align:center; justify-content:center; }
  .stat-row{ grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}
