/* TBN Components — Industrial Signal v1.0 */
/* Wymaga: tbn.css */

/* ─── NAWIGACJA ──────────────────────────────────────────── */
.tbn-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(26,18,9,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.tbn-nav-inner {
  width: 100%;
  padding: 0 var(--gutter);
  height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.tbn-nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tbn-nav-logo span {
  color: var(--accent);
}
.tbn-nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

.tbn-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
}

.tbn-nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.tbn-nav-links a:hover {
  color: var(--text);
  background: var(--bg-elevated);
}
.tbn-nav-links a.active {
  color: var(--accent);
}

.tbn-nav-cta {
  justify-self: end;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.tbn-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 680px) {
  .tbn-nav-links { display: none; }
  .tbn-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter);
    gap: 4px;
  }
  .tbn-nav-toggle { display: flex; }
  .tbn-nav-cta { display: none; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.tbn-hero {
  padding: clamp(64px, 12vw, 120px) 0 clamp(48px, 8vw, 80px);
  position: relative;
  overflow: hidden;
}

.tbn-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(249,115,22,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(253,230,138,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.tbn-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.tbn-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.tbn-hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
}

.tbn-hero h1 .accent { color: var(--accent); }
.tbn-hero h1 .signal { color: var(--signal); }

.tbn-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.tbn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tbn-hero-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 16px;
}

/* ─── KARTA PRODUKTU ─────────────────────────────────────── */
.tbn-product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.tbn-product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.tbn-product-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), inset 0 0 32px rgba(249,115,22,0.04);
}
.tbn-product-card .price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.tbn-product-card .price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.tbn-product-card .feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tbn-product-card .feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tbn-product-card .feature-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.tbn-product-card .btn { margin-top: auto; }

/* ─── CASE STUDY SEKCJA ──────────────────────────────────── */
.tbn-case-study {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.tbn-case-study::before {
  content: 'CASE STUDY';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--signal);
  background: var(--bg-surface);
  padding: 0 8px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.tbn-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: auto;
}
.tbn-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.tbn-footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.tbn-footer-brand span { color: var(--accent); }
.tbn-footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.tbn-footer-links a {
  font-size: 0.82rem;
  color: var(--text-faint);
}
.tbn-footer-links a:hover { color: var(--text-muted); }
.tbn-footer-copy {
  font-size: 0.78rem;
  color: var(--text-faint);
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ─── SEKCJA NAGŁÓWEK ────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

/* ─── LISTA CECH / CHECKMARKI ────────────────────────────── */
.tbn-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tbn-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.tbn-checklist li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

/* ─── TOOL CARD (dla /narzedzia/) ────────────────────────── */
.tbn-tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color var(--transition);
  text-decoration: none;
}
.tbn-tool-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.tbn-tool-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tbn-tool-card-body h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.tbn-tool-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
