/* ============================================================
   PrintWatch — Shared Design System
   ============================================================ */

:root {
  --dark:     #0B132B;
  --darkblue: #112D4E;
  --cyan:     #00B4DB;
  --teal:     #00E0C3;
  --lime:     #A8FF60;
  --offwhite: #F2F4F7;
  --muted:    #8A9BB5;
  --border:   rgba(0,180,219,.15);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--offwhite);
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; line-height: 1.15; }
code, kbd, pre, .mono { font-family: 'IBM Plex Mono', monospace; }

/* ── Grid background ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,180,219,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,219,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ── Gradient text ── */
.tg {
  background: linear-gradient(120deg, #00B4DB, #00E0C3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-n {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, #00B4DB, #00E0C3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ── */
.navbar {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,19,43,.88);
  border-bottom: 1px solid rgba(0,180,219,.1);
}
.nav-link {
  position: relative;
  color: rgba(242,244,247,.6);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
  padding-bottom: 2px;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, #00B4DB, #00E0C3);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-link:hover, .nav-link.active { color: #F2F4F7; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #00B4DB; }

/* ── Buttons ── */
.btn-p {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #00B4DB, #00CFC0);
  color: #0B132B;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  border-radius: 8px;
  transition: all .25s;
  box-shadow: 0 2px 12px rgba(0,180,219,.25);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-p:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0,180,219,.42); }
.btn-g {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(0,180,219,.28);
  color: #F2F4F7;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(0,180,219,.05);
  transition: all .25s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-g:hover { border-color: rgba(0,180,219,.55); background: rgba(0,180,219,.1); color: #00B4DB; }

/* ── Section label ── */
.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #00B4DB;
  font-family: 'Manrope', sans-serif;
}

/* ── Status dots ── */
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot-online  { background: #A8FF60; }
.dot-offline { background: rgba(255,80,80,1); }
.dot-warn    { background: #f59e0b; }
.dot-idle    { background: #00E0C3; }

/* ── Glass card ── */
.gc {
  background: rgba(10,24,50,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,180,219,.18);
  border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.gc:hover { border-color: rgba(0,180,219,.35); box-shadow: 0 0 24px rgba(0,180,219,.08); }

/* ── Pricing featured ── */
.price-featured {
  border-color: rgba(0,180,219,.45) !important;
  box-shadow: 0 0 32px rgba(0,180,219,.12);
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Step connector ── */
.step-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,180,219,.28), rgba(0,224,195,.28)); }

/* ── Terminal / code panel ── */
.terminal { background: #070f20; border: 1px solid rgba(0,180,219,.18); border-radius: 10px; overflow: hidden; }
.terminal-bar {
  background: rgba(0,180,219,.07);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(0,180,219,.1);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }

/* ── Toner bar ── */
.toner-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.toner-fill { height: 100%; border-radius: 2px; }

/* ── Form elements ── */
.form-field {
  width: 100%;
  background: rgba(10,24,50,.7);
  border: 1px solid rgba(0,180,219,.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: #F2F4F7;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-field:focus {
  border-color: rgba(0,180,219,.55);
  box-shadow: 0 0 0 3px rgba(0,180,219,.1);
}
.form-field::placeholder { color: rgba(138,155,181,.6); }
.form-field option {
  background: #0B132B;
  color: #F2F4F7;
}
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: #8A9BB5;
  margin-bottom: 6px;
  font-family: 'Manrope', sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(0,180,219,.08);
}

/* ── Info row ── */
.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .8125rem;
}
.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--muted); flex-shrink: 0; }
.info-row-value { color: var(--offwhite); text-align: right; }

/* ── Screenshot card ── */
.screenshot-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,180,219,.18);
  background: #080e1e;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.screenshot-card:hover {
  border-color: rgba(0,180,219,.45);
  box-shadow: 0 0 28px rgba(0,180,219,.12);
  transform: translateY(-2px);
}
.screenshot-card img { display: block; width: 100%; height: auto; object-fit: cover; }
.screenshot-card .caption {
  padding: 8px 12px;
  font-size: .72rem;
  font-weight: 600;
  color: #8A9BB5;
  font-family: 'Manrope', sans-serif;
  background: rgba(8,14,30,.9);
  border-top: 1px solid rgba(0,180,219,.1);
  text-align: center;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,15,32,.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  border: 1px solid rgba(0,180,219,.25);
  box-shadow: 0 0 60px rgba(0,180,219,.15);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,180,219,.12);
  border: 1px solid rgba(0,180,219,.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #00B4DB;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(0,180,219,.22); }

/* ── Feature block ── */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .feature-block { flex-direction: row; align-items: center; gap: 4rem; }
  .feature-block.reverse { flex-direction: row-reverse; }
}
.feature-block-text { flex: 1; min-width: 0; }
.feature-block-visual {
  flex: 1; min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,180,219,.18);
  background: #080e1e;
}
.feature-block-visual img { display: block; width: 100%; height: auto; }

/* ── Step badge ── */
.step-badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,180,219,.1);
  border: 1px solid rgba(0,180,219,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: #00B4DB;
  font-family: 'Manrope', sans-serif;
  flex-shrink: 0;
}

/* ── Coming soon card ── */
.coming-soon {
  background: rgba(10,24,50,.6);
  border: 1px dashed rgba(0,180,219,.22);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

/* ── Divider ── */
.section-divider { border: none; border-top: 1px solid rgba(0,180,219,.08); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(0,180,219,.22); border-radius: 3px; }

/* ── Focus ring ── */
:focus-visible { outline: 2px solid #00B4DB; outline-offset: 3px; }

/* ── Hero entrance ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fi1 { animation: fadeUp .6s ease both; }
.fi2 { animation: fadeUp .6s .08s ease both; }
.fi3 { animation: fadeUp .6s .16s ease both; }
.fi4 { animation: fadeUp .6s .26s ease both; }
.fi5 { animation: fadeUp .6s .36s ease both; }

@media (prefers-reduced-motion: reduce) {
  .fi1,.fi2,.fi3,.fi4,.fi5 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
