/* ==========================================================================
   LinusConnect — marketing site shared styles
   Pure CSS, no frameworks. Mobile-first.
   ========================================================================== */

:root {
  /* ===== LinusConnect brand palette (DreamsPOS theme) =====
     Brand orange primary + dark navy. Mirrors the product UI. */
  --primary: #FF9F43;        /* brand orange */
  --primary-hover: #F08E2E;  /* darker orange — hover/active */
  --primary-soft: #FFF5EC;   /* light orange tint — soft bg / chips / badges */

  --navy: #092C4C;           /* dark brand navy — dark sections, footer, headings */
  --navy-2: #1B2850;         /* secondary navy / gradient end */

  --text: #212B36;           /* body text */
  --muted: #5B6670;          /* secondary text */

  --border: #E6EAED;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;

  --success: #28C76F;
  --danger: #EA5455;
  --info: #00CFE8;

  --white: #ffffff;

  /* Back-compat aliases (kept so older selectors keep resolving) */
  --indigo-950: var(--navy);
  --indigo-900: var(--navy);
  --indigo-800: var(--navy-2);
  --indigo-700: var(--navy);
  --indigo-600: var(--primary);
  --indigo-500: var(--primary);
  --indigo-400: var(--primary);
  --indigo-300: var(--primary);
  --indigo-200: #F4D9BD;
  --indigo-100: var(--primary-soft);
  --indigo-50:  var(--primary-soft);

  --accent: var(--primary);
  --accent-dark: var(--primary-hover);

  --ink-900: var(--navy);
  --ink-700: var(--text);
  --ink-500: var(--muted);
  --ink-400: #93A0AB;
  --ink-300: #C5CDD4;
  --ink-200: var(--border);
  --ink-100: var(--bg-soft);
  --ink-50:  var(--bg-soft);

  /* Semantic tokens */
  --text-muted: var(--muted);
  --bg-dark: var(--navy);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii & shadows */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(9, 44, 76, 0.06), 0 1px 3px rgba(9, 44, 76, 0.08);
  --shadow: 0 10px 30px -12px rgba(9, 44, 76, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(9, 44, 76, 0.30);

  /* Layout */
  --maxw: 1160px;
  --gutter: 24px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto 52px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--navy); border-color: var(--primary); }
/* On dark navy bands: solid orange primary CTA */
.btn-light { background: var(--primary); color: #fff; }
.btn-light:hover { background: var(--primary-hover); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Solidifies + lifts once the user scrolls past the hero top */
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -14px rgba(9, 44, 76, 0.28);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  transition: color .15s ease;
}
/* Animated orange underline — grows on hover, pinned on the active page */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active, .nav-links a.active { color: var(--primary); }
.nav-links a.is-active::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--ink-700);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(255,159,67,0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(255,159,67,0.10), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero h1 { color: #fff; }
/* Orange gradient accent for the emphasised word in the headline */
.hero h1 .accent {
  background: linear-gradient(100deg, var(--primary), #ffd29a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; font-size: 1.25rem; color: rgba(255,255,255,0.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: 0.92rem; color: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--success); flex: none; }
/* Ghost button reads on the dark hero */
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,159,67,0.16); color: var(--primary);
  border: 1px solid rgba(255,159,67,0.35);
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,159,67,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,159,67,0); }
}
@media (prefers-reduced-motion: reduce) { .badge-pill .dot { animation: none; } }

/* ---------- Hero stat counters ---------- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats .stat { min-width: 96px; }
.hero-stats .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-stats .num .suffix { color: var(--primary); }
.hero-stats .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* ---------- Browser mock ---------- */
.hero-mock { position: relative; }
/* Soft glow behind the mock so it lifts off the navy hero */
.hero-mock::before {
  content: "";
  position: absolute;
  inset: -10% -8% -14% -8%;
  background: radial-gradient(60% 60% at 70% 20%, rgba(255,159,67,0.30), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.browser {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .browser { animation: none; }
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--ink-100);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-300); }
.browser-bar .dots span:nth-child(1){ background:#fca5a5;}
.browser-bar .dots span:nth-child(2){ background:#fde68a;}
.browser-bar .dots span:nth-child(3){ background:#86efac;}
.browser-bar .url {
  flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.78rem; color: var(--ink-500); padding: 5px 10px;
  text-align: center;
}
.browser-body { padding: 18px; background: var(--ink-50); }

/* Dashboard mock pieces */
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.mock-stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.mock-stat .k { font-size: 0.72rem; color: var(--ink-500); }
.mock-stat .v { font-size: 1.3rem; font-weight: 800; color: var(--ink-900); }
.mock-stat .v.up { color: var(--success); }
.mock-board { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-col { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.mock-col-h { font-size: 0.72rem; font-weight: 700; color: var(--ink-700); margin-bottom: 8px; display:flex; justify-content:space-between; }
.mock-card { background: var(--ink-50); border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; margin-bottom: 8px; }
.mock-card .t { font-size: 0.74rem; font-weight: 700; color: var(--ink-900); }
.mock-card .s { font-size: 0.66rem; color: var(--ink-500); }
.mock-tag { display:inline-block; font-size:0.6rem; font-weight:700; padding:2px 7px; border-radius:999px; margin-top:6px; }
.tag-hot { background:#fee2e2; color:#b91c1c; }
.tag-warm { background:#ffedd5; color:#c2410c; }
.tag-won { background:#dcfce7; color:#15803d; }

/* ---------- Trusted strip ---------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--border); background: #fff; }
.trusted p { text-align:center; font-size:0.8rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-400); font-weight:700; margin-bottom:22px; }
.trusted-row { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:42px; }
.trusted-logo { font-weight:800; font-size:1.15rem; color:var(--ink-300); letter-spacing:-0.01em; display:flex; align-items:center; gap:8px; }
.trusted-logo svg { opacity:.6; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.97rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary); color:#fff; font-weight:800; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.quote .stars { color:#f59e0b; margin-bottom: 12px; letter-spacing:2px; }
.quote blockquote { margin:0 0 18px; font-size:1.02rem; color: var(--ink-700); }
.quote .who { display:flex; align-items:center; gap:12px; }
.avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--primary-hover)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; flex:none; }
.quote .name { font-weight:700; font-size:0.95rem; color:var(--ink-900); }
.quote .role { font-size:0.82rem; color:var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 320px at 85% 0%, rgba(255,159,67,0.30), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color:#fff; border-radius: var(--radius-lg); padding: 56px 48px; text-align:center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,0.82); max-width:560px; margin:0 auto 26px; font-size:1.1rem; }
.cta-band .hero-cta { justify-content:center; }

/* ---------- Sections on dark ---------- */
.bg-soft { background: var(--bg-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(255,159,67,0.14), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 64px 0 40px; text-align:center;
}
.page-hero h1 { margin-bottom: 12px; }

/* ---------- Feature category blocks ---------- */
.feat-block { display:grid; grid-template-columns: 240px 1fr; gap: 40px; align-items:flex-start; }
.feat-block + .feat-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--border); }
.feat-block .cat-title { display:flex; align-items:center; gap:14px; }
.feat-block .cat-title h2 { font-size: 1.5rem; margin:0; }
.feat-block-body { display:block; }
.cat-intro { color: var(--muted); font-size: 1rem; margin: 0 0 24px; max-width: 720px; }
.feat-list { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.feat-item { display:flex; gap:14px; }
.feat-item .feature-icon { width:40px; height:40px; flex:none; margin-bottom:0; }
.feat-item h4 { margin:0 0 4px; font-size:1.02rem; }
.feat-item p { margin:0; color: var(--text-muted); font-size:0.93rem; }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items:stretch; }
.price-grid.cols-4 { grid-template-columns: repeat(4,1fr); gap: 20px; }
.price-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; display:flex; flex-direction:column; box-shadow: var(--shadow-sm); position:relative;
}
.price-card.featured {
  border:2px solid var(--primary); box-shadow: var(--shadow-lg);
  transform: scale(1.03); z-index:1;
}
.price-tag {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: var(--primary); color:#fff; font-size:0.74rem; font-weight:700;
  padding:6px 14px; border-radius:999px; letter-spacing:0.04em;
}
.price-card h3 { font-size:1.3rem; margin-bottom:4px; }
.price-card .sub { color:var(--text-muted); font-size:0.92rem; margin-bottom:18px; min-height:42px; }
.price { font-size:2.6rem; font-weight:800; color:var(--ink-900); letter-spacing:-0.03em; }
.price small { font-size:1rem; font-weight:600; color:var(--text-muted); }
.price-card .per { color:var(--text-muted); font-size:0.85rem; margin-bottom:22px; }
.price-features { list-style:none; margin: 4px 0 26px; display:grid; gap:12px; }
.price-features li { display:flex; gap:10px; font-size:0.94rem; color:var(--ink-700); }
.price-features li svg { color: var(--success); flex:none; margin-top:3px; }
.price-card .btn { margin-top:auto; }

/* ---------- Comparison table ---------- */
.compare { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.compare th, .compare td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--border); font-size:0.94rem; }
.compare thead th { background: var(--ink-50); font-weight:700; color:var(--ink-900); }
.compare tbody th { font-weight:600; color:var(--ink-700); }
.compare td { text-align:center; color:var(--ink-700); }
.compare td:first-child, .compare th:first-child { text-align:left; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom:none; }
.compare .yes { color: var(--success); font-weight:700; }
.compare .no { color: var(--ink-300); }
.compare tr.group th, .compare tr.group td {
  background: var(--navy); color:#fff; font-weight:700; font-size:0.82rem;
  letter-spacing:0.06em; text-transform:uppercase; text-align:left; border-bottom:none;
}
.compare thead th:not(:first-child) { text-align:center; }
.compare thead th.pop { color: var(--primary); }
.compare-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.compare-wrap .compare { min-width: 760px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border:1px solid var(--border); border-radius: var(--radius-sm); background:#fff; margin-bottom:12px; overflow:hidden; }
.faq-q {
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  font-family:inherit; font-size:1.02rem; font-weight:700; color:var(--ink-900);
  padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q:hover { color: var(--primary); }
.faq-q .chev { transition: transform .2s ease; flex:none; color:var(--ink-400); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height:0; overflow:hidden; transition: max-height .25s ease, padding .25s ease; color:var(--text-muted); }
.faq-item.open .faq-a { padding: 0 20px 18px; max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items:flex-start; }
.form-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding:32px; box-shadow:var(--shadow-sm); }
.field { margin-bottom:18px; }
.field label { display:block; font-weight:600; font-size:0.9rem; margin-bottom:7px; color:var(--ink-900); }
.field input, .field textarea, .field select {
  width:100%; font-family:inherit; font-size:1rem; color:var(--ink-900);
  padding:12px 14px; border:1px solid var(--border); border-radius: var(--radius-sm);
  background:#fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color: var(--indigo-400); box-shadow: 0 0 0 3px var(--indigo-100);
}
.field textarea { resize:vertical; min-height:130px; }
.contact-info .info-item { display:flex; gap:14px; margin-bottom:24px; }
.contact-info .feature-icon { margin-bottom:0; flex:none; }
.contact-info h4 { margin:0 0 2px; }
.contact-info p, .contact-info a { margin:0; color:var(--text-muted); font-size:0.95rem; }

/* ---------- About ---------- */
.values { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size:1.08rem; color:var(--ink-700); }
.stat-row { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; text-align:center; }
.stat-row .v { font-size:2.4rem; font-weight:800; color:var(--primary); letter-spacing:-0.02em; }
.stat-row .k { color:var(--text-muted); font-size:0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255,255,255,0.78); padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid img { height:30px; margin-bottom:16px; }
.footer-about { color: rgba(255,255,255,0.62); font-size:0.95rem; max-width:300px; }
.footer-col h5 { color:#fff; font-size:0.82rem; letter-spacing:0.08em; text-transform:uppercase; margin:0 0 16px; font-weight:700; }
.footer-col ul { list-style:none; display:grid; gap:10px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size:0.95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top:1px solid rgba(255,255,255,0.12);
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  color: rgba(255,255,255,0.6); font-size:0.88rem;
}
.footer-bottom .socials { display:flex; gap:14px; }
.footer-bottom .socials a { color: rgba(255,255,255,0.72); }
.footer-bottom .socials a:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .price-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .price-card.featured { transform:none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mock { order:2; }
  .grid-3, .quotes, .steps, .price-grid, .values { grid-template-columns: 1fr; }
  .price-grid.cols-4 { grid-template-columns: 1fr; }
  .price-card.featured { transform:none; }
  .feat-block { grid-template-columns: 1fr; gap:20px; }
  .feat-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 14px var(--gutter) 22px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; }
  .nav.open .nav-actions .btn-ghost { display: inline-flex; }
  .cta-band { padding: 40px 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap:28px; }
}

@media (max-width: 460px) {
  .hero-cta .btn, .cta-band .btn { width:100%; }
  .stat-row { grid-template-columns: 1fr; }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children of a revealed group (cards in a grid, etc.) */
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: .40s; }

/* Testimonial hover lift */
.quote { transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }

/* Step hover accent */
.step .num { transition: transform .15s ease, box-shadow .2s ease; }
.step:hover .num { transform: translateY(-3px); box-shadow: 0 8px 18px -6px rgba(255,159,67,0.6); }

/* Pricing card hover (non-featured lifts; featured deepens) */
.price-card { transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.price-card:not(.featured):hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.price-card.featured:hover { box-shadow: 0 36px 70px -22px rgba(9,44,76,0.38); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .browser { animation: none !important; }
}
