/*
Theme Name: DigiBoard Landing
Theme URI: https://digiboard.digitallogistic.co.uk
Description: Marketing landing page for DigiBoard digital signage system.
Version: 1.0.0
Author: Digital Logistic Ltd
Author URI: https://digitallogistic.co.uk
Text Domain: digiboard-landing
*/

:root {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --accent: #3498db;
  --bg-dark: #0a0a1a;
  --bg-darker: #060612;
  --bg-section: #f8f9fa;
  --bg-card: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-muted: #8892a0;
  --text-body: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --no: #f87171;
  --ok: #34d399;
  --ease: cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Typography ─────────────────────────── */
h1   { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; }
h2   { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
h3   { font-size: 1.1rem; font-weight: 700; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }

/* ── Layout ─────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all var(--transition); white-space: nowrap;
}
.btn-gold    { background: var(--primary); color: #0a0a1a; }
.btn-gold:hover  { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.3); color: #0a0a1a; }
.btn-purple  { background: var(--primary); color: #fff; }
.btn-purple:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.3); }
.btn-ghost   { background: transparent; color: var(--text-light); border: 1.5px solid currentColor; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ── Cards ──────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(46,204,113,0.3); transform: translateY(-4px); }

/* ── Reveal ─────────────────────────────── */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px 0; transition: all .4s ease;
}
#nav.s {
  background: rgba(10,10,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.nav-i { display: flex; align-items: center; gap: 36px; }
.logo {
  font-size: 1.45rem; font-weight: 800;
  color: var(--text-light); text-decoration: none;
  display: flex; align-items: center; gap: 9px; flex-shrink: 0;
}
.logo-mark {
  background: var(--primary); border-radius: 8px;
  width: 32px; height: 32px; display: inline-block;
  margin-right: 8px; vertical-align: middle; flex-shrink: 0;
}
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text-light); }
.nav-cta { margin-left: auto; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  overflow: hidden; padding: 140px 0 80px;
  background: var(--bg-dark);
}
canvas#pc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none;
}
.g1 { width: 700px; height: 700px; background: rgba(46,204,113,.07); top: -200px; left: -150px; }
.g2 { width: 500px; height: 500px; background: rgba(52,152,219,.05); bottom: -80px; right: 10%; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.hero-eyebrow .eyebrow {
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 50px;
  color: var(--primary);
  padding: 4px 14px;
}
h1 .ac { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
h1 .gd { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
h1 { color: var(--text-light); }
.hero-sub { color: var(--text-muted); max-width: 480px; font-size: 1.05rem; line-height: 1.75; margin: 22px 0 34px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-n { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.stat-l { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }

/* ── TV mockup ─────────────── */
.tv-area { display: flex; align-items: center; justify-content: center; position: relative; }
.tv-wrap { position: relative; }
.tv-live {
  position: absolute; top: -14px; right: -14px;
  background: var(--primary); color: #0a0a1a;
  padding: 4px 12px; border-radius: 50px;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 0 24px rgba(46,204,113,.4);
  z-index: 10; display: flex; align-items: center; gap: 5px;
}
.tv-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0a0a1a; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.tv-wrap::before {
  content: ''; position: absolute; inset: -20px;
  background: radial-gradient(ellipse at center, rgba(46,204,113,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0; border-radius: 50%;
}
.tv-outer {
  width: 440px; max-width: 100%;
  background: linear-gradient(150deg,#1c1c30,#0f0f1c);
  border-radius: 18px; padding: 10px;
  box-shadow: 0 0 0 1px rgba(46,204,113,.15),
              0 40px 90px rgba(0,0,0,.7),
              0 0 80px rgba(46,204,113,.06);
  animation: float 7s ease-in-out infinite;
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
  position: relative; z-index: 1;
}
@keyframes float {
  0%,100%{ transform:perspective(900px) rotateY(-7deg) rotateX(2deg) translateY(0); }
  50%    { transform:perspective(900px) rotateY(-7deg) rotateX(2deg) translateY(-14px); }
}
.tv-screen {
  background: #060610; border-radius: 10px; aspect-ratio: 16/9; overflow: hidden; position: relative;
}
.tv-scanline {
  position: absolute; inset: 0; pointer-events: none; z-index: 8;
  background: repeating-linear-gradient(to bottom,transparent 0,transparent 3px,rgba(0,0,0,.07) 3px,rgba(0,0,0,.07) 4px);
}
.tv-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.tv-bar {
  background: #0c0c1e; padding: 5px 12px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(46,204,113,.18); flex-shrink: 0;
}
.tv-bar-name { color: var(--primary); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.tv-bar-time { color: var(--text-muted); font-size: 7.5px; }
.tv-cols { display: grid; grid-template-columns: 1fr 1fr; flex: 1; overflow: hidden; }
.tv-col { border-right: 1px solid rgba(255,255,255,.04); display: flex; flex-direction: column; }
.tv-col:last-child { border-right: none; }
.tv-col-hdr {
  background: linear-gradient(135deg,#181830,#111126);
  padding: 4px 10px; font-size: 7.5px; font-weight: 700;
  color: var(--primary); letter-spacing: .07em;
  border-bottom: 1px solid rgba(46,204,113,.12); flex-shrink: 0;
}
.tv-row {
  padding: 4px 10px; display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.03); transition: background .2s;
}
.tv-row-l { flex: 1; }
.tv-row-n { font-size: 7px; color: #cccce0; font-weight: 500; }
.tv-row-d { font-size: 5.5px; color: #4a4a6a; font-style: italic; margin-top: 1px; }
.tv-row-p { font-size: 7.5px; color: var(--primary); font-weight: 700; white-space: nowrap; padding-left: 6px; }
.tv-foot {
  background: rgba(46,204,113,.1); padding: 3px 12px; text-align: center;
  font-size: 6.5px; color: rgba(46,204,113,.8); font-weight: 600; letter-spacing: .06em;
  border-top: 1px solid rgba(46,204,113,.18); flex-shrink: 0;
}
.tv-stand { width: 56px; height: 9px; background: linear-gradient(to bottom,#1c1c30,#0f0f1c); margin: 0 auto; border-radius: 0 0 4px 4px; }
.tv-base  { width: 110px; height: 5px; background: #0d0d1c; margin: 0 auto; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.4); }

/* ═══════════════════════════════════════════
   TICKER
═══════════════════════════════════════════ */
.ticker-wrap { background: var(--bg-darker); padding: 11px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 56px; animation: tick 28s linear infinite; white-space: nowrap; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tick-i { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.tick-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }

/* ═══════════════════════════════════════════
   COMPARISON
═══════════════════════════════════════════ */
#compare { background: var(--bg-section); position: relative; overflow: hidden; }
#compare::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 50%,rgba(46,204,113,.04),transparent 65%);
}
.sec-hdr { text-align: center; margin-bottom: 60px; }
.sec-hdr h2 { margin: 10px 0 14px; color: var(--text-dark); }
.sec-hdr p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.cmp-wrap { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; position: relative; z-index: 1; }
.cmp-panel { border-radius: var(--radius); overflow: hidden; }
.cmp-old { background: #fff1f0; border: 1px solid #fecaca; }
.cmp-new { background: #f0fdf4; border: 1.5px solid rgba(46,204,113,0.3); }
.cmp-hdr { padding: 18px 26px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cmp-old .cmp-hdr { background: #fee2e2; border-bottom: 1px solid #fecaca; color: #dc2626; }
.cmp-new .cmp-hdr { background: var(--primary); border-bottom: 1px solid rgba(46,204,113,.3); color: #0a0a1a; }
.cmp-row { padding: 16px 26px; display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid rgba(0,0,0,.05); }
.cmp-row:last-child { border-bottom: none; }
.cmp-ico { font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; color: var(--primary); }
.cmp-t { font-weight: 700; font-size: .9rem; margin-bottom: 3px; color: var(--text-dark); }
.cmp-d { font-size: .8rem; color: var(--text-body); line-height: 1.55; }
.vs-col { display: flex; align-items: center; justify-content: center; }
.vs-pill {
  writing-mode: vertical-lr; font-size: .7rem; font-weight: 800; color: var(--text-muted); letter-spacing: .15em;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px; padding: 18px 7px;
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
#features { background: var(--bg-card); position: relative; overflow: hidden; }
#features::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 60%,rgba(46,204,113,.03),transparent 55%);
}
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; z-index: 1; }
.feat-card {
  padding: 30px; border-radius: var(--radius);
  background: var(--bg-section); border: 1px solid var(--border);
  position: relative; overflow: hidden; transition: all .3s var(--ease);
}
.feat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--primary),var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.feat-card:hover::after { transform: scaleX(1); }
.feat-card:hover { border-color: rgba(46,204,113,0.3); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat-card.wide { grid-column: span 2; }
.feat-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px; transition: all .25s ease;
}
.feat-card:hover .feat-icon { transform: scale(1.06); }
.feat-card h3 { margin-bottom: 8px; color: var(--text-dark); }
.feat-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
#how { background: var(--bg-dark); position: relative; overflow: hidden; }
#how::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%,rgba(46,204,113,.06),transparent 55%); }
.how-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; margin-top: 72px; }
.how-steps::before {
  content: ''; position: absolute;
  top: 51px; left: calc(16.667%+28px); right: calc(16.667%+28px);
  height: 1px; background: linear-gradient(90deg,var(--primary),rgba(46,204,113,.1),var(--primary));
}
.how-step { padding: 0 28px; text-align: center; position: relative; }
.how-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 2rem;
  color: #fff;
  position: relative; z-index: 1;
  transition: all .3s ease;
}
.how-step:hover .how-num { transform: scale(1.06); box-shadow: 0 0 44px rgba(46,204,113,.35); }
.how-step h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text-light); }
.how-step p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
#testimonials { background: var(--bg-section); position: relative; overflow: hidden; }
#testimonials::before {
  content: '"'; position: absolute; top: 0; left: 20px;
  font-size: 22rem; font-weight: 800;
  color: rgba(46,204,113,.05); line-height: 1; pointer-events: none; z-index: 0;
}
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; z-index: 1; }
.test-card { padding: 30px; }
.stars { color: var(--primary); font-size: .95rem; letter-spacing: 2px; margin-bottom: 16px; }
.test-card blockquote { font-size: .9rem; line-height: 1.75; color: var(--text-body); font-style: italic; margin-bottom: 22px; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 700; flex-shrink: 0; }
.test-name { font-weight: 700; font-size: .9rem; color: var(--text-dark); }
.test-role { font-size: .75rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
#pricing { background: var(--bg-card); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; align-items: start; }
.price-card { padding: 34px 30px; position: relative; }
.price-card.pop {
  background: linear-gradient(145deg,rgba(46,204,113,.08),rgba(46,204,113,.02));
  border-color: var(--primary) !important;
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(46,204,113,.15), 0 40px 60px rgba(0,0,0,.08);
}
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #0a0a1a; padding: 4px 16px; border-radius: 50px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.price-tier { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.price-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); }
.price-amt { font-size: 3.2rem; font-weight: 800; line-height: 1; display: flex; align-items: flex-start; gap: 4px; color: var(--text-dark); }
.price-cur { font-size: 1.4rem; margin-top: 6px; }
.price-per { font-size: .8rem; color: var(--text-muted); margin: 6px 0 26px; }
.price-feats { list-style: none; margin-bottom: 28px; }
.price-feats li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--border); color: var(--text-body); }
.price-feats li:last-child { border-bottom: none; }
.price-feats li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.price-feats li.off { color: var(--text-muted); }
.price-feats li.off::before { content: '—'; color: var(--text-muted); }
.price-note { text-align: center; color: var(--text-muted); font-size: .82rem; margin-top: 28px; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
#faq { background: var(--bg-section); position: relative; }
.faq-wrap { max-width: 720px; margin: 56px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: rgba(46,204,113,0.3); }
.faq-q { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-weight: 600; font-size: .9rem; background: var(--bg-card); color: var(--text-dark); transition: background .2s; }
.faq-q:hover { background: var(--bg-section); }
.faq-arr { width: 22px; height: 22px; border-radius: 50%; background: rgba(46,204,113,.08); border: 1px solid rgba(46,204,113,.2); display: flex; align-items: center; justify-content: center; font-size: .7rem; color: var(--primary); flex-shrink: 0; transition: transform .3s,background .2s; }
.faq-item.open .faq-arr { transform: rotate(180deg); background: rgba(46,204,113,.2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease,padding .3s; font-size: .9rem; color: var(--text-body); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 22px 18px; }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
#cta-band {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  border-top: 1px solid rgba(46,204,113,.08); border-bottom: 1px solid rgba(46,204,113,.08);
  text-align: center; padding: 100px 0; position: relative; overflow: hidden;
}
#cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%,rgba(46,204,113,.1),transparent 65%); }
.cta-in { position: relative; z-index: 1; }
.cta-in h2 { margin: 10px 0 18px; color: var(--text-light); }
.cta-in p { color: var(--text-muted); max-width: 500px; margin: 0 auto 34px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.foot-brand p { color: rgba(255,255,255,0.6); font-size: .85rem; line-height: 1.75; margin-top: 12px; max-width: 280px; }
.foot-col h4 { font-weight: 700; font-size: .82rem; margin-bottom: 14px; color: var(--text-light); letter-spacing: .04em; }
.foot-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: .85rem; margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: var(--primary); }
.foot-col p { color: rgba(255,255,255,0.6); font-size: .85rem; line-height: 1.6; }
.foot-btm { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.05); font-size: .78rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }
.foot-btm a { color: rgba(255,255,255,0.6); text-decoration: none; }
.foot-btm a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   RUNNING COSTS
═══════════════════════════════════════════ */
.pricing-label { margin-bottom: 4px; }
.running-costs { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px; }
.running-card { padding: 28px 24px; text-align: center; background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius); }
.running-icon { font-size: 2rem; margin-bottom: 12px; }
.running-amt { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.running-amt span { font-size: .85rem; font-weight: 400; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   HARDWARE COMPARISON
═══════════════════════════════════════════ */
.hw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.hw-card { padding: 30px 28px; }
.hw-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 16px; }
.hw-badge.consumer   { background: rgba(52,152,219,.1); color: var(--accent); border: 1px solid rgba(52,152,219,.2); }
.hw-badge.commercial { background: rgba(46,204,113,.08); color: var(--primary); border: 1px solid rgba(46,204,113,.25); }
.hw-badge.own        { background: rgba(46,204,113,.1); color: var(--primary); border: 1px solid rgba(46,204,113,.2); }
.hw-spec { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .87rem; }
.hw-spec:last-of-type { border-bottom: none; }
.hw-spec-icon { width: 20px; flex-shrink: 0; font-size: .95rem; }
.hw-spec-label { color: var(--text-muted); font-size: .75rem; line-height: 1; margin-bottom: 3px; }
.hw-spec-val { font-weight: 500; line-height: 1.3; color: var(--text-dark); }
.hw-price { font-size: 1.9rem; font-weight: 800; margin: 20px 0 4px; color: var(--text-dark); }
.hw-price span { font-size: .85rem; font-weight: 400; color: var(--text-muted); }
.hw-comm-specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 24px; }
.hw-comm-spec { background: rgba(46,204,113,.04); border: 1px solid rgba(46,204,113,.15); border-radius: 10px; padding: 14px; text-align: center; }
.hw-comm-spec .icon { font-size: 1.2rem; display: block; margin-bottom: 6px; }
.hw-comm-spec .lbl  { color: var(--text-muted); font-size: .73rem; margin-bottom: 4px; }
.hw-comm-spec .val  { font-weight: 600; font-size: .88rem; color: var(--text-dark); }
.hw-full { margin-top: 24px; background: linear-gradient(145deg, rgba(46,204,113,.06), rgba(46,204,113,.02)); border-color: rgba(46,204,113,.2) !important; }

/* features and pricing sections need light heading colors */
#features .sec-hdr h2,
#pricing .sec-hdr h2 { color: var(--text-dark); }
#features .sec-hdr p,
#pricing .sec-hdr p { color: var(--text-muted); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width:1024px){
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub  { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats{ justify-content: center; }
  .tv-area   { display: none; }
  .cmp-wrap  { grid-template-columns: 1fr; }
  .vs-col    { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.wide { grid-column: auto; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .test-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.pop { transform: none; }
  .foot-top  { grid-template-columns: 1fr 1fr; }
  .running-costs { grid-template-columns: 1fr 1fr; }
  .hw-grid { grid-template-columns: 1fr; }
  .hw-comm-specs { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:640px){
  section { padding: 80px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .foot-top  { grid-template-columns: 1fr; }
  .foot-btm  { flex-direction: column; text-align: center; }
  .how-step  { margin-bottom: 48px; }
  .running-costs { grid-template-columns: 1fr; }
  .hw-comm-specs { grid-template-columns: 1fr 1fr; }
}

/* ── Pricing Calculator ──────────────────────────────────────────── */
.calc-wrap { display:flex; flex-direction:column; gap:24px; margin-top:52px; }

.calc-step { background:#fff; border:2px solid var(--border); border-radius:20px; padding:30px 32px; }
.calc-step-hdr { display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.calc-num { width:38px; height:38px; flex-shrink:0; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; }
.calc-step-title { font-weight:700; font-size:1.05rem; color:var(--text-dark); }
.calc-step-sub { font-size:.78rem; color:var(--text-muted); margin-top:2px; }

.calc-opts { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.calc-opt { border:2px solid var(--border); border-radius:14px; padding:18px 16px 16px; cursor:pointer; transition:border-color .18s, background .18s, box-shadow .18s; position:relative; user-select:none; }
.calc-opt:hover { border-color:var(--primary); background:rgba(46,204,113,.04); }
.calc-opt.active { border-color:var(--primary); background:rgba(46,204,113,.07); box-shadow:0 4px 22px rgba(46,204,113,.14); }
.calc-opt-chk { position:absolute; top:12px; right:12px; width:22px; height:22px; border-radius:50%; border:2px solid var(--border); background:#fff; display:flex; align-items:center; justify-content:center; font-size:.6rem; color:transparent; transition:all .18s; }
.calc-opt.active .calc-opt-chk { background:var(--primary); border-color:var(--primary); color:#fff; }
.calc-opt-badge { font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--primary); margin-bottom:6px; min-height:14px; }
.calc-opt-name { font-weight:700; font-size:.95rem; color:var(--text-dark); margin-bottom:4px; }
.calc-opt-desc { font-size:.76rem; color:var(--text-muted); margin-bottom:14px; line-height:1.4; }
.calc-opt-price { font-size:1.7rem; font-weight:800; color:var(--text-dark); line-height:1; }
.calc-opt-price.free { color:var(--primary); }
.calc-opt-price.range { font-size:1.1rem; }
.calc-opt-unit { font-size:.72rem; color:var(--text-muted); margin-top:4px; }

.calc-auto { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.calc-auto-card { background:var(--bg-section); border-radius:14px; padding:20px 16px; text-align:center; }
.calc-auto-icon { font-size:1.7rem; margin-bottom:8px; }
.calc-auto-amt { font-size:1.45rem; font-weight:800; color:var(--text-dark); }
.calc-auto-amt.green { color:var(--primary); }
.calc-auto-amt span { font-size:.72rem; font-weight:500; color:var(--text-muted); }
.calc-auto-label { font-weight:700; font-size:.84rem; color:var(--text-dark); margin:6px 0 4px; }
.calc-auto-note { font-size:.73rem; color:var(--text-muted); line-height:1.35; }

.calc-result { background:linear-gradient(135deg,#1a2a3e 0%,#0e1d2e 100%); border-radius:20px; padding:36px 40px; border:1.5px solid rgba(46,204,113,.18); }
.calc-result-title { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.4); margin-bottom:20px; }
.calc-result-rows { display:flex; flex-direction:column; }
.calc-result-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.calc-result-row:last-child { border-bottom:none; }
.calc-result-row-lbl { font-size:.88rem; color:rgba(255,255,255,.55); }
.calc-result-row-val { font-size:.92rem; font-weight:700; color:#fff; }
.calc-result-divider { height:1px; background:rgba(255,255,255,.13); margin:18px 0; }
.calc-result-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.calc-result-total-lbl { font-size:1rem; font-weight:600; color:rgba(255,255,255,.8); }
.calc-result-total-val { font-size:1.65rem; font-weight:800; color:var(--primary); }
.calc-result-note { font-size:.74rem; color:rgba(255,255,255,.3); margin:10px 0 26px; line-height:1.5; }
.calc-result .btn { width:100%; justify-content:center; }
.calc-ph { color:rgba(255,255,255,.28); font-style:italic; font-size:.9rem; font-weight:400; }

@media(max-width:900px){
  .calc-opts { grid-template-columns:1fr 1fr 1fr; }
  .calc-result { padding:28px 24px; }
}
@media(max-width:700px){
  .calc-opts { grid-template-columns:1fr; }
  .calc-auto { grid-template-columns:1fr; }
}
@media(max-width:560px){
  .calc-step { padding:22px 18px; }
  .calc-result { padding:24px 18px; }
}
