/* ══════════════════════════════════════════════════════════════
   Dochino Theme – main.css
   Dark design, vychází z attendance-landing.html
   ══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0a0c10;
  --ink2:   #111520;
  --ink3:   #1a1f2e;
  --wire:   #1e2535;
  --dim:    #2a3245;
  --muted:  #4a5568;
  --ghost:  #64748b;
  --silver: #94a3b8;
  --light:  #cbd5e1;
  --white:  #f1f5f9;
  --blue:   #3b82f6;
  --blue2:  #2563eb;
  --glow:   #60a5fa;
  --cyan:   #22d3ee;
  --green:  #10b981;
  --amber:  #f59e0b;
  --red:    #ef4444;
  --r:      10px;
  --mono:   'DM Mono', monospace;
  --head:   'Syne', sans-serif;
  --body:   'DM Sans', sans-serif;
  --max-w:  1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--light);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Noise overlay ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1000;
  opacity: .4;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--glow); }

img { max-width: 100%; height: auto; display: block; }

/* ── Grid background ─────────────────────────────────────── */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ══ LAYOUT ═══════════════════════════════════════════════ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ══ NAV ══════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,12,16,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,.12);
}
.nav-logo {
  font-family: var(--head);
  font-size: 18px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 8px var(--blue); }
  50% { box-shadow: 0 0 20px var(--glow), 0 0 40px var(--blue); }
}

.nav-menu { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-menu a {
  color: var(--ghost); text-decoration: none; font-size: 14px;
  font-weight: 400; transition: color .2s; letter-spacing: .01em;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a { color: var(--white); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 20px !important; border-radius: 6px;
  font-weight: 500 !important;
  transition: all .2s !important;
}
.nav-cta:hover { background: var(--blue2) !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--white); font-size: 24px; cursor: pointer;
}

/* ══ HERO ═════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: rgba(59,130,246,.08); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(34,211,238,.05); bottom: 0; right: -50px; }
.orb-3 { width: 300px; height: 300px; background: rgba(16,185,129,.04); top: 30%; left: 40%; }

.hero-inner {
  max-width: var(--max-w); width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 20px; padding: 5px 14px;
  font-family: var(--mono); font-size: 11px; color: var(--glow);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ══ TYPOGRAPHY ═══════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.1;
}
h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 24px; }
h1 .accent { color: var(--blue); }
h1 .line2 { color: var(--silver); }

h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }

.section-tag {
  font-family: var(--mono);
  font-size: 11px; color: var(--blue);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 17px; color: var(--ghost);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}
.hero-desc {
  font-size: 17px; color: var(--ghost);
  font-weight: 300; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}

/* ══ BUTTONS ═════════════════════════════════════════════ */
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(59,130,246,.4);
}
.btn-primary:hover {
  background: var(--blue2); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,.35);
}
.btn-ghost {
  background: transparent; color: var(--light);
  padding: 14px 28px; border-radius: 8px;
  font-weight: 400; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--wire); transition: all .2s; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--dim); background: rgba(255,255,255,.03); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ══ SECTIONS ════════════════════════════════════════════ */
.section { padding: 100px 48px; position: relative; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section--alt { background: var(--ink2); }

/* ══ STATS BAR ═══════════════════════════════════════════ */
.stats-bar {
  background: var(--ink2);
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  padding: 28px 48px;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid var(--wire); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--head); font-size: 36px; font-weight: 800;
  color: var(--white); letter-spacing: -.02em; line-height: 1; margin-bottom: 4px;
}
.stat-num .unit { font-size: 20px; color: var(--blue); }
.stat-label { font-size: 13px; color: var(--ghost); }

/* ══ FEATURE GRID ════════════════════════════════════════ */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--wire);
  border: 1px solid var(--wire); border-radius: 14px;
  overflow: hidden; margin-top: 60px;
}
.feature-card {
  background: var(--ink2); padding: 32px;
  transition: background .2s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { background: var(--ink3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.feature-title {
  font-family: var(--head); font-size: 17px; font-weight: 700;
  color: var(--white); margin-bottom: 8px; letter-spacing: -.01em;
}
.feature-desc { font-size: 14px; color: var(--ghost); line-height: 1.6; font-weight: 300; }
.feature-pro {
  font-family: var(--mono); font-size: 9px; color: var(--amber);
  letter-spacing: .1em; background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  padding: 2px 6px; border-radius: 4px; margin-left: 6px;
}

/* ══ DEPLOY CARDS ════════════════════════════════════════ */
.deploy-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 60px;
}
.deploy-card {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 14px; padding: 32px;
  position: relative; overflow: hidden; transition: all .25s;
}
.deploy-card:hover {
  border-color: var(--dim); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.deploy-card.featured {
  border-color: rgba(59,130,246,.4); background: rgba(59,130,246,.04);
}
.deploy-card.featured::after {
  content: 'POPULÁRNÍ'; position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; color: var(--blue);
  letter-spacing: .1em; background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.3); padding: 3px 8px; border-radius: 4px;
}
.deploy-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.deploy-title {
  font-family: var(--head); font-size: 20px; font-weight: 700;
  color: var(--white); letter-spacing: -.01em; margin-bottom: 8px;
}
.deploy-sub { font-size: 13px; color: var(--ghost); margin-bottom: 20px; font-weight: 300; }
.deploy-list { list-style: none; }
.deploy-list li {
  font-size: 13px; color: var(--silver); padding: 6px 0;
  border-bottom: 1px solid var(--wire);
  display: flex; gap: 8px; align-items: flex-start; font-weight: 300;
}
.deploy-list li:last-child { border-bottom: none; }
.deploy-list li::before { content: '→'; color: var(--blue); flex-shrink: 0; font-family: var(--mono); }

/* ══ FLOW ════════════════════════════════════════════════ */
.flow-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.flow-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--green), transparent);
}
.flow-step { text-align: center; padding: 0 20px; position: relative; }
.flow-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink2); border: 2px solid var(--wire);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--blue);
  margin: 0 auto 20px; position: relative; z-index: 1; transition: all .3s;
}
.flow-step:hover .flow-num {
  border-color: var(--blue); background: rgba(59,130,246,.1);
  box-shadow: 0 0 24px rgba(59,130,246,.3);
}
.flow-step-title {
  font-family: var(--head); font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.flow-step-desc { font-size: 13px; color: var(--ghost); font-weight: 300; line-height: 1.6; }

/* ══ PRICING ═════════════════════════════════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 60px;
}
.pricing-card {
  background: var(--ink2); border: 1px solid var(--wire);
  border-radius: 14px; padding: 32px; text-align: center;
  transition: all .25s; position: relative;
}
.pricing-card:hover { border-color: var(--dim); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: rgba(59,130,246,.4); background: rgba(59,130,246,.06);
}
.pricing-card.featured::before {
  content: 'DOPORUČENO'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; color: #fff; letter-spacing: .1em;
  background: var(--blue); padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.pricing-tier { font-family: var(--mono); font-size: 12px; color: var(--ghost); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.pricing-name { font-family: var(--head); font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.pricing-price { font-family: var(--head); font-size: 42px; font-weight: 800; color: var(--white); line-height: 1; }
.pricing-price .unit { font-size: 18px; color: var(--ghost); font-weight: 400; }
.pricing-note { font-size: 13px; color: var(--ghost); margin: 8px 0 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  font-size: 14px; color: var(--silver); padding: 8px 0;
  border-bottom: 1px solid rgba(30,37,53,.8);
  display: flex; gap: 10px; font-weight: 300;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green); flex-shrink: 0; font-weight: 500; }
.pricing-features li.disabled { color: var(--muted); }
.pricing-features li.disabled::before { content: '–'; color: var(--muted); }

/* ══ TECH ════════════════════════════════════════════════ */
.tech-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 60px;
}
.tech-list { display: flex; flex-direction: column; gap: 16px; }
.tech-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px; background: var(--ink);
  border: 1px solid var(--wire); border-radius: 10px; transition: all .2s;
}
.tech-item:hover { border-color: var(--dim); transform: translateX(4px); }
.tech-item-ico { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.tech-item-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.tech-item-desc { font-size: 13px; color: var(--ghost); font-weight: 300; }

.code-panel {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.code-bar {
  background: var(--ink2); border-bottom: 1px solid var(--wire);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-body {
  padding: 24px; font-family: var(--mono); font-size: 12px;
  line-height: 1.8; color: var(--silver);
}

/* ══ SECURITY ════════════════════════════════════════════ */
.security-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 60px;
}
.security-card {
  background: var(--ink2); border: 1px solid var(--wire);
  border-radius: 12px; padding: 24px; display: flex; gap: 14px; align-items: flex-start;
}
.security-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.security-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.security-desc { font-size: 13px; color: var(--ghost); font-weight: 300; line-height: 1.5; }

/* ══ CTA ═════════════════════════════════════════════════ */
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-orb {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section .section-desc { margin: 0 auto 36px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══ OBCHOD (formulář) ═══════════════════════════════════ */
.shop-form {
  max-width: 600px; margin: 40px auto 0;
  background: var(--ink2); border: 1px solid var(--wire);
  border-radius: 14px; padding: 32px;
}
.shop-form label {
  display: block; font-size: 13px; color: var(--silver);
  margin-bottom: 6px; font-weight: 500;
}
.shop-form input, .shop-form select {
  width: 100%; padding: 12px 16px;
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 8px; color: var(--white); font-size: 15px;
  font-family: var(--body); margin-bottom: 16px;
  transition: border-color .2s;
}
.shop-form input:focus, .shop-form select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.shop-form select option { background: var(--ink2); color: var(--white); }
.shop-total {
  text-align: center; padding: 16px; margin: 8px 0 20px;
  background: rgba(59,130,246,.06); border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px;
}
.shop-total-price {
  font-family: var(--head); font-size: 32px; font-weight: 800; color: var(--white);
}
.shop-total-note { font-size: 13px; color: var(--ghost); margin-top: 4px; }
.shop-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px; padding: 10px 16px; color: var(--red);
  font-size: 13px; margin-bottom: 16px; display: none;
}

/* ══ SHOP – PROMO BANNER ════════════════════════════════ */
.shop-promo-banner {
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(16,185,129,.08));
  border: 1px solid rgba(59,130,246,.25); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 20px; text-align: center;
  position: relative; overflow: hidden;
}
.shop-promo-banner::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(59,130,246,.08);
}
.promo-badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 8px;
  text-transform: uppercase;
}
.promo-name {
  font-family: var(--head); font-size: 18px; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.promo-detail { font-size: 14px; color: var(--green); font-weight: 600; }
.promo-bonus {
  font-size: 13px; color: var(--amber); margin-top: 4px;
}
.promo-countdown {
  font-family: var(--mono); font-size: 12px; color: var(--silver);
  margin-top: 8px; letter-spacing: .5px;
}
.shop-total-original {
  font-size: 16px; color: var(--ghost); margin-bottom: 2px;
}
.shop-total-original s { text-decoration: line-through; }
.shop-total-bonus {
  font-size: 13px; color: var(--amber); margin-top: 6px;
}

/* ══ SHOP – BANK DETAILS PANEL ══════════════════════════ */
.shop-bank-details {
  background: var(--ink2); border: 1px solid var(--wire); border-radius: 14px;
  padding: 32px 28px; margin-top: 32px;
}
.bank-info-grid {
  display: flex; flex-direction: column; gap: 0;
  background: var(--ink); border-radius: 10px; overflow: hidden;
  margin-bottom: 20px;
}
.bank-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--wire);
}
.bank-info-row:last-child { border-bottom: none; }
.bank-info-label { font-size: 13px; color: var(--ghost); }
.bank-info-value { font-family: var(--mono); font-size: 14px; color: var(--white); letter-spacing: .5px; }
.bank-qr-wrap {
  background: #fff; border-radius: 12px; padding: 20px; margin-top: 16px;
}
.bank-qr-wrap p { color: #64748b !important; }

/* ══ KONTAKT ═════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-top: 40px;
}
.contact-info {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; background: var(--ink2);
  border: 1px solid var(--wire); border-radius: 10px;
}
.contact-item-ico { font-size: 20px; flex-shrink: 0; }
.contact-item-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.contact-item-val { font-size: 13px; color: var(--ghost); }

/* ══ FOOTER ══════════════════════════════════════════════ */
.site-footer {
  background: var(--ink2); border-top: 1px solid var(--wire);
  padding: 40px 48px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--head); font-size: 16px; font-weight: 800; color: var(--silver);
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ghost); font-size: 13px; }
.footer-links a:hover { color: var(--white); }

/* ══ LEGAL PAGES ═════════════════════════════════════════ */
.legal-content {
  max-width: 780px; margin: 0 auto;
  padding-top: 120px; padding-bottom: 80px;
}
.legal-content h1 { font-size: 32px; margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; margin-top: 36px; margin-bottom: 12px; }
.legal-content p { margin-bottom: 16px; font-size: 15px; color: var(--silver); line-height: 1.8; }
.legal-content ul, .legal-content ol { margin: 12px 0 16px 24px; color: var(--silver); font-size: 15px; line-height: 1.8; }

/* ══ PREVIEW TABS & DEVICE MOCKUPS ══════════════════════ */
.preview-tabs {
  display: flex; gap: 4px;
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 10px; padding: 4px;
  overflow-x: auto;
}
.preview-tab {
  flex: 1; padding: 10px 16px;
  background: transparent; border: none; border-radius: 8px;
  color: var(--ghost); font-family: var(--body);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .2s; display: flex; align-items: center;
  justify-content: center; gap: 6px; white-space: nowrap;
}
.preview-tab:hover { color: var(--silver); background: var(--ink2); }
.preview-tab.active {
  background: var(--ink2); color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.ptab-ico { font-size: 15px; }

.preview-panel {
  display: none; margin-top: 32px;
  animation: fade-up .4s ease both;
}
.preview-panel.active { display: block; }

.preview-caption {
  text-align: center; margin-top: 24px;
  font-size: 14px; color: var(--ghost); font-weight: 300;
  line-height: 1.6; max-width: 560px; margin-left: auto; margin-right: auto;
}
.preview-caption strong { color: var(--white); font-weight: 600; }

/* ── Monitor frame ── */
.device-monitor {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  max-width: 900px; margin: 0 auto;
}
.monitor-bar {
  background: var(--ink2); border-bottom: 1px solid var(--wire);
  padding: 10px 16px; display: flex; align-items: center; gap: 12px;
}
.monitor-dots {
  display: flex; gap: 6px;
}
.monitor-dots span {
  width: 10px; height: 10px; border-radius: 50%; display: block;
}
.monitor-url {
  font-family: var(--mono); font-size: 11px; color: var(--ghost);
  background: var(--ink); border: 1px solid var(--wire);
  padding: 4px 12px; border-radius: 6px; flex: 1; max-width: 300px;
}
.monitor-body {
  display: flex; min-height: 320px;
}

/* Sidebar mock */
.mock-sidebar {
  width: 160px; flex-shrink: 0;
  background: var(--ink2); border-right: 1px solid var(--wire);
  padding: 16px 12px;
}
.mock-nav-item {
  font-size: 12px; color: var(--ghost); padding: 6px 8px;
  border-radius: 6px; margin-bottom: 2px; cursor: default;
  transition: background .15s;
}
.mock-nav-item.active {
  background: rgba(59,130,246,.1); color: var(--blue);
}

/* Content mock */
.mock-content {
  flex: 1; padding: 20px;
}
.mock-chip {
  font-size: 10px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; font-family: var(--mono);
}
.mock-chip.green { background: rgba(16,185,129,.15); color: var(--green); }
.mock-chip.blue { background: rgba(59,130,246,.15); color: var(--blue); }

.mock-stat-card {
  background: var(--ink3); border: 1px solid var(--wire);
  border-radius: 8px; padding: 10px; text-align: center;
}
.msc-label {
  font-size: 9px; color: var(--ghost);
  text-transform: uppercase; letter-spacing: .04em;
}
.msc-val {
  font-size: 16px; font-weight: 800; color: var(--white); margin-top: 2px;
}

/* Table mock */
.mock-table { border: 1px solid var(--wire); border-radius: 8px; overflow: hidden; }
.mock-tr {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  font-size: 11px; color: var(--ghost); padding: 6px 10px;
  border-bottom: 1px solid var(--wire);
}
.mock-tr:last-child { border-bottom: none; }
.mock-thead {
  background: var(--ink3); font-weight: 600;
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ghost);
}

/* ── Phone frame ── */
.device-phone {
  width: 260px; flex-shrink: 0;
  background: var(--ink); border: 2px solid var(--wire);
  border-radius: 28px; padding: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  position: relative;
}
.phone-notch {
  width: 80px; height: 6px;
  background: var(--ink3); border-radius: 3px;
  margin: 4px auto 8px;
}
.phone-screen {
  background: var(--ink2); border-radius: 20px;
  overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column;
}

/* ── Worker relay badge ── */
.preview-relay-badge {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  max-width: 200px; align-self: center;
}

/* ── Quick HTML frame ── */
.device-quick {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  max-width: 400px; margin: 0 auto;
}
.quick-body {
  background: var(--ink2);
}

/* ── Tray scene ── */
.device-tray-scene {
  max-width: 500px; margin: 0 auto; position: relative;
}
.mock-taskbar {
  background: var(--ink3); border: 1px solid var(--wire);
  border-radius: 6px; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.tray-icon-hl { color: var(--blue); }
.tray-popup {
  background: var(--ink); border: 1px solid var(--wire);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  max-width: 280px; margin-left: auto;
}

/* ── WP Admin mockup ── */
.wp-sidebar {
  width: 200px;
  background: #1d2327;
  overflow-y: auto;
  max-height: 480px;
}
.wp-item {
  font-size: 11px; padding: 5px 8px;
  color: var(--silver); margin-bottom: 0;
}
.wp-item.active { background: rgba(59,130,246,.15); }
.wp-menu-parent { margin-top: 2px; }
.wp-menu-parent strong { font-size: 12px; }
.wp-menu-sep {
  height: 1px; background: var(--wire);
  margin: 4px 8px;
}
.wp-submenu {
  background: rgba(0,0,0,.2);
  padding: 4px 0;
  margin: 0 0 2px;
}
.wp-sub-item {
  font-size: 10px; color: var(--ghost);
  padding: 3px 8px 3px 20px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.wp-sub-item.active { color: var(--white); }
.wp-badge {
  font-size: 9px; font-weight: 700;
  background: var(--blue); color: #fff;
  padding: 0 5px; border-radius: 8px;
  min-width: 16px; text-align: center;
  line-height: 16px;
}
.wp-content {
  background: #f0f0f1;
  padding: 20px;
}
.wp-admin-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 16px;
}
.wp-filter-chip {
  font-size: 10px; color: var(--ghost);
  background: var(--ink); border: 1px solid var(--wire);
  padding: 4px 10px; border-radius: 6px;
  font-family: var(--mono);
}
.wp-content .mock-stat-card { background: var(--ink2); }
.wp-content .mock-table { background: var(--ink2); }
.wp-dept-dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  margin-right: 4px; vertical-align: middle;
}

/* ══ KIOSK MOCKUP ═══════════════════════════════════════ */
#kiosk-wrap {
  position: relative;
}

.kiosk-badge {
  position: absolute;
  z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(17, 21, 32, .85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: kb-float 3s ease-in-out infinite;
  white-space: nowrap;
}
.kiosk-badge.kb-top-right { animation-delay: 0s; }
.kiosk-badge.kb-bottom-right { animation-delay: 1s; }
.kiosk-badge.kb-left { animation-delay: 2s; }

@keyframes kb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.kb-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ghost);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.kb-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  font-family: var(--mono);
}

/* Kiosk status transition */
#kiosk-status {
  transition: all .4s ease;
}
#kiosk-status.status-enter {
  opacity: 0;
  transform: translateY(8px);
}
#kiosk-status.status-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══ ANIMATIONS ══════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .site-nav { padding: 16px 24px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink2); border-bottom: 1px solid var(--wire);
    padding: 20px 24px; gap: 16px;
  }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 100px 24px 60px; }
  .kiosk-badge { display: none; }
  #kiosk-wrap { width: 100% !important; max-width: 300px; margin: 0 auto; }
  .preview-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .preview-tab { font-size: 11px; padding: 8px 10px; }
  .ptab-ico { font-size: 13px; }
  .mock-sidebar { display: none; }
  .wp-sidebar { display: block; width: 140px; }
  .wp-sidebar .wp-sub-item { font-size: 9px; padding-left: 14px; }
  .mock-stat-card { padding: 6px; }
  .msc-val { font-size: 13px; }
  .preview-relay-badge { max-width: 100%; margin-top: 20px; }
  .device-phone { width: 240px; }
  .section { padding: 60px 24px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .deploy-grid, .flow-grid, .tech-grid, .security-grid, .pricing-grid { grid-template-columns: 1fr; }
  .flow-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
}
