/* ==========================================================================
   SWISS CINEMATIC SAAS - UNIFIED STYLESHEET (ZERO LAG)
   ========================================================================== */

/* ═══ 1. ГЛОБАЛНИ ПРОМЕНЛИВИ И ТЕМА ═══ */
:root {
  --sw-bg: #fafafa;
  --sw-surface: #ffffff;
  --sw-border: #e4e4e7;
  --sw-border-strong: #09090b;
  --sw-accent: #dc2626;
  --sw-green: #16a34a;
  --sw-yellow: #d97706;
  --sw-muted: #52525b;
  --sw-text: #09090b;
  --sw-font-mono: 'JetBrains Mono', monospace;
  --sw-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--sw-bg);
  color: var(--sw-text);
  font-family: var(--sw-font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ 2. ИЗОЛАЦИЯ НА ТЪМНАТА ТЕМА САМО В .swiss-wrapper ═══ */
.swiss-wrapper {
  --sw-bg: #09090b;
  --sw-surface: #121216;
  --sw-border: #ffffff;
  --sw-border-subtle: rgba(255, 255, 255, 0.2);
  --sw-text: #ffffff;
  --sw-muted: #d4d4d8;

  background-color: #09090b;
  color: #ffffff;
  font-family: var(--sw-font-sans);
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ═══ 3. ФИКСИРАН ХЕДЪР И НАВИГАЦИЯ (SAAS HEADER) ═══ */
.saas-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.saas-header.is-scrolled,
.saas-header.is-solid,
.saas-header.mega-menu-open {
  background: #ffffff !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--sw-border) !important;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08) !important;
}

.saas-nav-container {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0 clamp(16px, 3.5vw, 40px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.saas-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.saas-sidebar-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 7px 9px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.saas-header.is-scrolled .saas-sidebar-toggle,
.saas-header.is-solid .saas-sidebar-toggle,
.saas-header.mega-menu-open .saas-sidebar-toggle {
  background: var(--sw-surface) !important;
  border-color: var(--sw-border) !important;
}

.saas-sidebar-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #ffffff;
}

.saas-header.is-scrolled .saas-sidebar-toggle span,
.saas-header.is-solid .saas-sidebar-toggle span,
.saas-header.mega-menu-open .saas-sidebar-toggle span {
  background: var(--sw-text) !important;
}

.saas-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.saas-header.is-scrolled .saas-logo,
.saas-header.is-solid .saas-logo,
.saas-header.mega-menu-open .saas-logo {
  color: var(--sw-text) !important;
}

.saas-logo-icon {
  width: 26px;
  height: 26px;
  background: #ffffff;
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sw-font-mono);
  font-weight: 800;
  font-size: 0.80rem;
  border-radius: 3px;
}

.saas-header.is-scrolled .saas-logo-icon,
.saas-header.is-solid .saas-logo-icon,
.saas-header.mega-menu-open .saas-logo-icon {
  background: var(--sw-border-strong) !important;
  color: #ffffff !important;
}

.saas-logo-badge {
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.saas-header.is-scrolled .saas-logo-badge,
.saas-header.is-solid .saas-logo-badge,
.saas-header.mega-menu-open .saas-logo-badge {
  background: #f4f4f5 !important;
  color: var(--sw-muted) !important;
  border-color: var(--sw-border) !important;
}

.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.saas-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 64px;
}

.nav-item-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.saas-nav-links .nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.saas-nav-links .nav-link-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.saas-header.is-scrolled .saas-nav-links .nav-link-btn,
.saas-header.is-solid .saas-nav-links .nav-link-btn,
.saas-header.mega-menu-open .saas-nav-links .nav-link-btn {
  color: var(--sw-muted) !important;
}

.saas-header.is-scrolled .saas-nav-links .nav-link-btn:hover,
.saas-header.is-solid .saas-nav-links .nav-link-btn:hover,
.saas-header.mega-menu-open .saas-nav-links .nav-link-btn:hover {
  color: var(--sw-text) !important;
  background: #f4f4f5 !important;
  border-color: var(--sw-border) !important;
}

.saas-nav-links .nav-link-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 800;
}

.saas-header.is-scrolled .saas-nav-links .nav-link-btn.active,
.saas-header.is-solid .saas-nav-links .nav-link-btn.active,
.saas-header.mega-menu-open .saas-nav-links .nav-link-btn.active {
  color: var(--sw-text) !important;
  background: #f4f4f5 !important;
  border-color: var(--sw-border-strong) !important;
}

.chevron-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

/* ═══ 4. МЕГА МЕНЮТА (MEGA MENU DROPDOWN) ═══ */
.mega-menu-dropdown {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(95vh - 64px) !important;
  max-height: calc(95vh - 64px) !important;
  background: #ffffff;
  border-top: 1px solid var(--sw-border);
  border-bottom: 4px solid var(--sw-border-strong);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
  overflow-y: auto;
  pointer-events: none;
}

.has-dropdown:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-inner {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: clamp(16px, 2.2vh, 26px) clamp(20px, 3.2vw, 55px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 370px;
  gap: clamp(16px, 1.8vw, 30px);
  height: 100%;
  box-sizing: border-box;
}

.mega-menu-pricing .mega-menu-inner {
  grid-template-columns: repeat(3, minmax(0, 1.15fr)) minmax(0, 1.1fr) 350px;
}

.mega-menu-contacts .mega-menu-inner {
  grid-template-columns: minmax(380px, 1.25fr) repeat(2, minmax(0, 1fr)) 370px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.mega-col-title {
  font-family: var(--sw-font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sw-text);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--sw-border-strong);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mega-col-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 10px;
  min-height: 0;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(10px, 1.3vh, 16px) 14px;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid var(--sw-border);
  background: #ffffff;
  flex: 1;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.mega-item:hover {
  background: #f8fafc;
  border-color: var(--sw-border-strong);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.mega-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--sw-border);
  background: #09090b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.mega-item:hover .mega-thumb img {
  transform: scale(1.12);
}

.mega-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mega-item-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--sw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.mega-item-desc {
  font-size: 0.78rem;
  color: var(--sw-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Карти за цените в Мега менюто */
.mega-plan-card {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}

.mega-plan-card:hover {
  border-color: var(--sw-border-strong);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mega-plan-card.featured {
  border: 2px solid var(--sw-border-strong);
  background: #fafafa;
}

.mega-plan-img {
  width: 100%;
  height: clamp(110px, 15vh, 150px);
  position: relative;
  background: #09090b;
  overflow: hidden;
  flex-shrink: 0;
}

.mega-plan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mega-plan-card:hover .mega-plan-img img {
  transform: scale(1.06);
}

.mega-plan-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--sw-accent);
  color: #fff;
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.mega-plan-body {
  padding: clamp(12px, 1.6vh, 18px);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.mega-plan-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
  color: var(--sw-text);
}

.mega-plan-sub {
  font-size: 0.76rem;
  color: var(--sw-muted);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.mega-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sw-border);
  margin-bottom: 10px;
}

.mega-plan-price {
  font-family: var(--sw-font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mega-plan-curr {
  font-family: var(--sw-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sw-muted);
}

.mega-plan-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-plan-feats li {
  font-size: 0.76rem;
  font-family: var(--sw-font-mono);
  color: var(--sw-text);
  display: flex;
  align-items: center;
  gap: 7px;
}

.mega-plan-feats li::before {
  content: "■";
  font-size: 0.65rem;
  color: var(--sw-border-strong);
}

.mega-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  text-decoration: none;
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.15s ease;
  margin-top: auto;
}

.mega-plan-btn.accent {
  background: var(--sw-border-strong);
  color: #ffffff;
  border: 1px solid var(--sw-border-strong);
}

.mega-plan-btn.accent:hover {
  background: #27272a;
}

.mega-plan-btn.outline {
  background: #ffffff;
  color: var(--sw-text);
  border: 1px solid var(--sw-border);
}

.mega-plan-btn.outline:hover {
  background: #f4f4f5;
  border-color: var(--sw-border-strong);
}

/* Форма в мега меню Контакти */
.mega-demo-card {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.mega-demo-banner {
  height: clamp(100px, 14vh, 130px);
  position: relative;
  background: #09090b;
  overflow: hidden;
  flex-shrink: 0;
}

.mega-demo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.15);
}

.mega-demo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.4) 0%, rgba(9, 9, 11, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}

.mega-demo-banner-tag {
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.mega-demo-banner-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.mega-demo-form-wrap {
  padding: clamp(12px, 1.6vh, 18px);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.mega-demo-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mega-mini-input {
  width: 100%;
  padding: 8px 10px;
  font-family: var(--sw-font-mono);
  font-size: 0.74rem;
  border: 1px solid var(--sw-border);
  border-radius: 3px;
  background: #fafafa;
  color: var(--sw-text);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mega-mini-input:focus {
  border-color: var(--sw-border-strong);
  background: #ffffff;
}

.mega-demo-submit-btn {
  width: 100%;
  padding: 10px 14px;
  background: var(--sw-border-strong);
  color: #ffffff;
  border: 1px solid var(--sw-border-strong);
  border-radius: 3px;
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.mega-demo-submit-btn:hover {
  background: #27272a;
  transform: translateY(-1px);
}

.mega-highlight-col {
  background: #fafafa;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.mega-highlight-badge {
  font-family: var(--sw-font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  background: #09090b;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 12px;
}

.mega-highlight-col h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #09090b;
  letter-spacing: -0.02em;
}

.mega-highlight-col p {
  font-size: 0.82rem;
  color: var(--sw-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.mega-infra-preview {
  width: 100%;
  height: 140px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--sw-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mega-infra-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-edition-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.80rem;
  font-weight: 700;
  font-family: var(--sw-font-mono);
}

.mega-edition-list div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Десни бутони в хедъра */
.saas-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-swiss-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  text-decoration: none;
  font-family: var(--sw-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.btn-swiss-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.saas-header.is-scrolled .btn-swiss-link,
.saas-header.is-solid .btn-swiss-link,
.saas-header.mega-menu-open .btn-swiss-link {
  color: var(--sw-text) !important;
  background: var(--sw-surface) !important;
  border-color: var(--sw-border) !important;
}

.btn-swiss-accent {
  background: #ffffff !important;
  color: #09090b !important;
  border-color: #ffffff !important;
}

.saas-header.is-scrolled .btn-swiss-accent,
.saas-header.is-solid .btn-swiss-accent,
.saas-header.mega-menu-open .btn-swiss-accent {
  background: var(--sw-border-strong) !important;
  color: #ffffff !important;
}

.btn-swiss-logout {
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.btn-swiss-admin-red {
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #fff !important;
  background: rgba(239, 68, 68, 0.12) !important;
}

.nav-red-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 8px #ef4444;
}

/* Мобилен Drawer */
.saas-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.saas-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.saas-sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: #ffffff;
  border-right: 1px solid var(--sw-border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}

.saas-sidebar-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sw-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.drawer-close-btn {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-divider {
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sw-muted);
  text-transform: uppercase;
  padding: 14px 8px 4px;
  border-bottom: 1px solid #f4f4f5;
}

.drawer-links a {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--sw-text);
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.drawer-sublink {
  padding-left: 20px !important;
  font-size: 0.74rem !important;
  color: var(--sw-muted) !important;
  font-family: var(--sw-font-sans) !important;
  text-transform: none !important;
}

/* ═══ 5. ПЪРВИ ЕКРАН: HERO С ВИДЕО ═══ */
.hero-fullscreen-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #09090b;
  padding: 80px clamp(20px, 4vw, 60px) clamp(40px, 7vh, 70px);
  border-bottom: 2px solid #ffffff;
}

.hero-video-crossfade-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #09090b;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
  transform: translateZ(0);
}

.hero-cinema-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(9, 9, 11, 0.45) 50%, rgba(9, 9, 11, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-swiss-split {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-end;
}

.hero-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-rotating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #18181b;
  border: 1px solid #ffffff;
  border-radius: 2px;
  margin-bottom: 20px;
}

.rotating-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.rotating-text-slot {
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.rotating-text-slot.text-animating {
  opacity: 0;
}

.hero-cinema-title {
  font-family: var(--sw-font-sans);
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cinema-sub {
  font-family: var(--sw-font-sans);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: #ffffff;
  max-width: 680px;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-split-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.btn-swiss-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sw-font-mono);
  font-size: 0.80rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 24px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-swiss-hero.primary {
  background: #ffffff;
  color: #09090b;
  border: 1px solid #ffffff;
}

.btn-swiss-hero.primary:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.btn-swiss-hero.glass {
  background: #18181b;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-swiss-hero.glass:hover {
  background: #ffffff;
  color: #09090b;
}

.hero-cinema-scrollcue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ═══ 6. ВТОРИ ЕКРАН: ТЕЛЕМЕТРИЯ (100VH МАСИВЕН КЛЪСТЕР) ═══ */
.telemetry-stage-section {
  position: relative;
  width: 100%;
  background: #09090b;
  border-bottom: 2px solid #ffffff;
  overflow: hidden;
}

.telemetry-massive-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.telemetry-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: brightness(1.1) contrast(1.05);
  transform: translateZ(0);
}
.telemetry-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85; /* може да го оставиш 1 или леко да го намалиш, за да изпъкне терминалът */
}

.telemetry-cinema-overlay {
  display: none;
}

.meta-telemetry-bar-cinematic {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
  color: #09090b !important;
  border-bottom: 2px solid #ffffff;
  padding: 14px 24px;
  font-family: var(--sw-font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-telemetry-bar-cinematic span,
.meta-telemetry-bar-cinematic div {
  color: #09090b !important;
  font-weight: 900;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #16a34a !important;
  margin-right: 8px;
  border-radius: 50%;
}

.hero-cinematic-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(36px, 4vw, 64px) 24px;
  align-items: center;
}

.telemetry-grid-stretched {
  min-height: calc(100vh - 120px);
  align-items: center;
}

.hero-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-heading-cinematic {
  font-family: var(--sw-font-sans);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 18px 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-desc-cinematic {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: #ffffff;
  max-width: 660px;
  margin: 0 0 32px 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.hero-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-terminal-glass {
  background: rgba(18, 18, 22, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: clamp(32px, 4vw, 48px); /* <- Беше clamp(20px, 3vw, 32px) */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--sw-font-mono);
  width: 100%;
  min-height: 580px; /* <- За да добие истински масивен вид като долните кутии */
}

.terminal-top-bar-glass {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-size: 0.70rem;
  color: #d4d4d8;
  text-transform: uppercase;
  font-weight: 800;
}

.big-stat-block {
  margin-bottom: 28px;
}

.big-stat-val {
  font-size: clamp(2.8rem, 4.2vw, 4rem); /* <- Беше до 2.8rem, сега става наистина гигантско */
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.big-stat-label {
  font-size: 0.75rem; /* <- Леко по-четимо */
  color: #d4d4d8;
  text-transform: uppercase;
  margin-top: 8px;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.big-stat-label {
  font-size: 0.68rem;
  color: #d4d4d8;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.stat-mini-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.terminal-stream-glass {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 16px;
  font-size: 0.78rem;
  line-height: 1.7;
  height: 220px; /* <- Беше 160px (сега ще показва повече редове от стрийма без да се тъпче) */
  overflow-y: hidden;
}

.stream-line {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.stream-tag { color: #f87171; font-weight: 800; }
.stream-ok { color: #4ade80; font-weight: 800; }
.stream-muted { color: #d4d4d8; }

/* ═══ 7. МЕТРИЧНА ЛЕНТА: БЯЛ ФОН ═══ */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  gap: 2px;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.metric-cell {
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-cell .num {
  font-family: var(--sw-font-mono);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
  color: #09090b;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.metric-cell .title {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #52525b;
  font-family: var(--sw-font-mono);
}

/* ═══ 8. ХЕДЪРИ НА СЕКЦИИТЕ ═══ */
.section-headline {
  padding: 24px clamp(16px, 3.5vw, 36px);
  background: #ffffff !important;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.section-headline h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
  color: #09090b !important;
}

.section-headline p {
  margin: 0;
  font-family: var(--sw-font-mono);
  font-size: 0.75rem;
  color: #52525b !important;
  font-weight: 900;
  text-transform: uppercase;
}

.section-headline .linear-chip-glass {
  background: #09090b !important;
  color: #ffffff !important;
  border: 1px solid #09090b !important;
}

/* ═══ 9. МАСИВНИ СЕКЦИИ: СКЛАД И КУРИЕРИ С ВИДЕО ═══ */
.cinema-split-section {
  position: relative;
  width: 100%;
  border-bottom: 2px solid #ffffff;
}

.cinema-massive-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

.split-feature-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: #09090b;
}

.massive-feature-box {
  min-height: calc(90vh - 80px);
  align-items: center;
}

.cinema-box-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  filter: brightness(1.05) contrast(1.05);
  transform: translateZ(0);
}

.cinema-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.5) 50%, rgba(9, 9, 11, 0.2) 100%);
  z-index: 2;
  pointer-events: none;
}

.cinema-box-overlay.reversed-overlay {
  background: linear-gradient(270deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.5) 50%, rgba(9, 9, 11, 0.2) 100%);
}

.feature-content.cinema-feature-text {
  position: relative;
  z-index: 3;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.massive-content-pad {
  padding: clamp(48px, 6vw, 90px) clamp(24px, 4.5vw, 60px) !important;
}

.split-feature-box.reversed .feature-content.cinema-feature-text {
  order: 2;
}

.massive-section-title {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 20px 0 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9) !important;
}

.massive-section-desc {
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.7 !important;
  max-width: 680px;
  color: #ffffff !important;
  margin-bottom: 28px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.cinema-feature-list {
  font-family: var(--sw-font-mono);
  font-size: 0.80rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  color: #ffffff;
}

.modern-feature-list {
  font-size: 0.88rem !important;
  gap: 14px !important;
  margin-bottom: 34px !important;
}

.cinema-feature-list strong { color: #ffffff; }
.cinema-feature-list .item-dot { color: #f87171; margin-right: 6px; }

.feature-live-screen.cinema-feature-screen {
  position: relative;
  z-index: 3;
  padding: clamp(28px, 4vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══ 10. МОДЕРНИ СТЪКЛЕНИ КУТИИ (GLASSMORPHISM) ═══ */
.live-stock-terminal,
.waybill-live-card {
  width: 100%;
  max-width: 580px;
  border-radius: 6px;
  font-family: var(--sw-font-mono);
  color: #ffffff;
}

.glass-terminal-cinematic,
.glass-box-terminal,
.glass-box-waybill {
  background: rgba(18, 18, 22, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.terminal-head,
.waybill-top {
  background: rgba(24, 24, 27, 0.8);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.terminal-body,
.waybill-body {
  padding: 18px;
}

.barcode-card {
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transparent-barcode-card {
  background: rgba(24, 24, 27, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.barcode-svg-lines {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.b-bar {
  background: #ffffff;
  height: 100%;
  display: inline-block;
}

.revision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.revision-table th {
  text-align: left;
  color: #a1a1aa;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  text-transform: uppercase;
}

.revision-table td {
  padding: 9px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.badge-status-pill {
  padding: 2px 6px;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  border-radius: 2px;
}

.pill-green { background: #16a34a; color: #ffffff; }
.pill-amber { background: #d97706; color: #ffffff; }

.waybill-barcode-zone {
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  margin: 12px 0;
}

.transparent-barcode-zone {
  background: rgba(9, 9, 11, 0.5) !important;
  border: 1px dashed rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.waybill-grid-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.info-tag {
  font-size: 0.65rem;
  color: #a1a1aa;
  text-transform: uppercase;
  font-weight: 800;
}

/* ═══ 11. БУТОНИ И ЕТИКЕТИ (CHIPS) ═══ */
.linear-chip-glass {
  font-family: var(--sw-font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  background: #18181b;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.linear-chip-glass.accent {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.swiss-wrapper .btn-linear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 20px;
  border: 1px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  background: #ffffff;
  color: #09090b;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.swiss-wrapper .btn-linear:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.swiss-wrapper .btn-linear-glass {
  background: #18181b;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.swiss-wrapper .btn-linear-glass:hover {
  background: #ffffff;
  color: #09090b;
}

/* ═══ 12. ТАРИФИ ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: #ffffff;
  gap: 2px;
  border-bottom: 2px solid #ffffff;
}

.pricing-card {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #121216;
  position: relative;
}

.pricing-card.featured {
  background: #18181b;
}

.featured-flag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--sw-accent);
  color: #fff;
  font-family: var(--sw-font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-bottom-left-radius: 2px;
}

.pricing-feat-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--sw-font-mono);
  font-size: 0.80rem;
  color: #d4d4d8;
}

.pricing-feat-list li::before {
  content: "■";
  color: #ffffff;
  margin-right: 8px;
  font-size: 0.60rem;
}

/* ═══ 13. ТЕСТОВ ДОСТЪП ФОРМА ═══ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  gap: 2px;
  border-bottom: 2px solid #ffffff;
}

.contact-info-col {
  background: #09090b;
  color: #ffffff;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-col {
  background: #121216;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3.5vw, 48px);
}

.linear-input-group {
  margin-bottom: 16px;
}

.linear-label {
  display: block;
  font-family: var(--sw-font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #e4e4e7;
}

.linear-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ffffff;
  border-radius: 2px;
  font-family: var(--sw-font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.linear-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

/* ═══ 14. МОБИЛНА АДАПТИВНОСТ (RESPONSIVE) ═══ */
@media (max-width: 1200px) {
  .saas-nav-links, 
  .mega-menu-dropdown { 
    display: none !important; 
  }
  .saas-sidebar-toggle { 
    display: flex; 
  }
}

@media (max-width: 1024px) {
  .hero-swiss-split {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-split-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-cinematic-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr; /* <- Беше 1.15fr 0.85fr (това веднага ще разпъне терминала на ширина) */
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(48px, 5vw, 80px) clamp(24px, 4.5vw, 60px); /* <- Да има отстоянията на massive секциите */
  align-items: center;
}
  .split-feature-box { 
    grid-template-columns: 1fr; 
  }
  .split-feature-box.reversed .feature-content.cinema-feature-text { 
    order: 1 !important; 
  }
  .split-feature-box.reversed .feature-live-screen { 
    order: 2 !important; 
  }
  .telemetry-massive-stage,
  .cinema-massive-section {
    min-height: auto;
    height: auto;
  }
  .telemetry-grid-stretched,
  .massive-feature-box {
    min-height: auto;
  }
}

@media (max-width: 992px) {
  .contact-wrapper { 
    grid-template-columns: 1fr; 
  }
  .metrics-strip { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 480px) {
  .metrics-strip { 
    grid-template-columns: 1fr; 
  }
}
/* ══════════════════════════════════════════════════════════════════════
   15. PRICING CONSOLE (СТРАНИЦА ЦЕНИ, ТАБЛИЦИ, FAQ И УСЛУГИ)
   ══════════════════════════════════════════════════════════════════════ */

/* Наследяване на променливите за страницата с цени */
:root {
  --pr-bg: var(--sw-bg);
  --pr-surface: var(--sw-surface);
  --pr-border: var(--sw-border);
  --pr-border-strong: var(--sw-border-strong);
  --pr-accent: var(--sw-accent);
  --pr-green: var(--sw-green);
  --pr-text: var(--sw-text);
  --pr-muted: var(--sw-muted);
  --pr-font-mono: var(--sw-font-mono);
  --pr-font-sans: var(--sw-font-sans);
}

.pricing-full-wrap {
  width: 100%;
  max-width: 100% !important;
  background-color: var(--pr-bg);
  color: var(--pr-text);
  font-family: var(--pr-font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ═══ ТЕЛЕМЕТРИЧЕН СТАТУС БАР ═══ */
.pricing-telemetry-bar {
  background: #09090b;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px clamp(16px, 3.5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--pr-font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
}

.pr-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px #22c55e;
  animation: prPulse 2s infinite ease-in-out;
}

@keyframes prPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ═══ HERO ЗАГЛАВИЕ С ПРЕВКЛЮЧВАТЕЛ ═══ */
.pricing-hero-bar {
  width: 100%;
  background: var(--pr-surface);
  border-bottom: 1px solid var(--pr-border);
  padding: clamp(48px, 6vw, 76px) clamp(16px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.pricing-linear-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pr-font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f4f4f5;
  color: var(--pr-text);
  border: 1px solid var(--pr-border);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.pricing-linear-chip.accent { 
  background: #fef2f2; 
  color: var(--pr-accent); 
  border-color: #fecaca; 
}

.pricing-title {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: var(--pr-text);
}

.pricing-title span.accent {
  color: var(--pr-accent);
}

.pricing-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--pr-muted);
  max-width: 820px;
  margin: 0 0 32px 0;
}

/* Превключвател Месечно / Годишно */
.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #f4f4f5;
  padding: 5px;
  border: 1px solid var(--pr-border);
  border-radius: 4px;
  gap: 4px;
}

.pricing-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 22px;
  font-family: var(--pr-font-mono);
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pr-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  transition: all 0.15s ease;
}
.pricing-toggle-btn:hover { color: var(--pr-text); }
.pricing-toggle-btn.active {
  background: var(--pr-surface);
  color: var(--pr-text);
  border-color: var(--pr-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.toggle-pill {
  font-family: var(--pr-font-mono);
  font-size: 0.68rem;
  background: var(--pr-accent);
  color: #ffffff;
  padding: 3px 8px;
  font-weight: 800;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ═══ МЕТРИЧНА ЛЕНТА С ГАРАНЦИИ ═══ */
.pr-metrics-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--pr-border);
  background: #ffffff;
}

@media (max-width: 900px) {
  .pr-metrics-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .pr-metrics-strip { grid-template-columns: 1fr; }
}

.pr-metric-cell {
  padding: clamp(20px, 2.5vw, 30px);
  border-right: 1px solid var(--pr-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pr-metric-cell:last-child { border-right: none; }

.pr-metric-num {
  font-family: var(--pr-font-mono);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  color: var(--pr-text);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pr-metric-lbl {
  font-family: var(--pr-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pr-muted);
}

/* ═══ ХАРДУЕРНИ КАРТИ С ПЛАНОВЕ ═══ */
.pricing-section-container {
  width: 100%;
  padding: clamp(40px, 4.5vw, 68px) clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid var(--pr-border);
}

.section-head-swiss {
  margin-bottom: clamp(24px, 3vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head-swiss h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  color: var(--pr-text);
}

.section-head-swiss p {
  color: var(--pr-muted);
  font-family: var(--pr-font-mono);
  font-size: 0.76rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  width: 100%;
}

@media (max-width: 1100px) {
  .pricing-cards-grid { grid-template-columns: 1fr; }
}

.swiss-price-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.swiss-price-card:hover {
  border-color: var(--pr-border-strong);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.swiss-price-card.featured {
  border: 2px solid var(--pr-border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #fafafa;
}

.card-feature-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--pr-accent);
  color: #ffffff;
  font-family: var(--pr-font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  z-index: 3;
}

/* Инфраструктурна корица в картата */
.plan-media-cover {
  width: 100%;
  height: clamp(160px, 20vh, 210px);
  position: relative;
  background: #09090b;
  overflow: hidden;
  border-bottom: 1px solid var(--pr-border);
}

.plan-media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.swiss-price-card:hover .plan-media-cover img {
  transform: scale(1.06);
}

.plan-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(9, 9, 11, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
}

.plan-media-tag {
  font-family: var(--pr-font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.plan-card-body {
  padding: clamp(20px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.plan-title-swiss {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--pr-text);
}

.plan-sub-swiss {
  color: var(--pr-muted);
  font-size: 0.84rem;
  min-height: 42px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.price-display-swiss {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--pr-border);
  padding-bottom: 14px;
}

.price-num {
  font-family: var(--pr-font-mono);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-currency {
  font-family: var(--pr-font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.price-period {
  font-family: var(--pr-font-mono);
  font-size: 0.78rem;
  color: var(--pr-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.plan-limit-pill {
  display: inline-block;
  font-family: var(--pr-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f4f4f5;
  border: 1px solid var(--pr-border);
  color: var(--pr-text);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.plan-limit-pill.unlimited {
  background: #f0fdf4;
  color: var(--pr-green);
  border-color: #bbf7d0;
}

.plan-features-swiss {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features-swiss li {
  font-family: var(--pr-font-mono);
  font-size: 0.78rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--pr-text);
  line-height: 1.5;
}

.plan-features-swiss li span {
  font-weight: 800;
  color: var(--pr-border-strong);
}

.btn-plan-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border: 1px solid var(--pr-border);
  font-family: var(--pr-font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-plan-action.featured {
  background: var(--pr-border-strong);
  color: #ffffff;
  border-color: var(--pr-border-strong);
}
.btn-plan-action.featured:hover { 
  background: #27272a; 
  transform: translateY(-1px);
}

.btn-plan-action.regular {
  background: var(--pr-surface);
  color: var(--pr-text);
  border-color: var(--pr-border);
}
.btn-plan-action.regular:hover {
  background: #f4f4f5;
  border-color: var(--pr-border-strong);
  transform: translateY(-1px);
}

/* ═══ ДОПЪЛНИТЕЛНИ УСЛУГИ ═══ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  width: 100%;
}

.swiss-service-item {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.swiss-service-item:hover {
  border-color: var(--pr-border-strong);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.service-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-thumb-img {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--pr-border);
  background: #09090b;
  flex-shrink: 0;
}

.service-title-swiss {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pr-text);
}

.service-desc-swiss {
  font-size: 0.82rem;
  color: var(--pr-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.service-price-swiss {
  font-family: var(--pr-font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pr-text);
  border-top: 1px solid #f4f4f5;
  padding-top: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══ СРАВНИТЕЛНА ТАБЛИЦА ═══ */
.table-responsive-swiss {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--pr-border);
  background: var(--pr-surface);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.swiss-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.swiss-table th, 
.swiss-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pr-border);
  border-right: 1px solid var(--pr-border);
}
.swiss-table th:last-child, 
.swiss-table td:last-child {
  border-right: none;
}

.swiss-table th {
  background: #fafafa;
  color: var(--pr-text);
  font-family: var(--pr-font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.swiss-table tr:hover td { background: #f8fafc; }

.swiss-check-yes {
  color: var(--pr-green);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 3px;
  padding: 3px 8px;
  font-weight: 800;
  font-family: var(--pr-font-mono);
  font-size: 0.72rem;
  display: inline-block;
}

.swiss-check-no {
  color: #a1a1aa;
  font-weight: 600;
  font-family: var(--pr-font-mono);
}

/* ═══ FAQ ═══ */
.faq-stack-swiss {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-card-swiss {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 5px;
  transition: all 0.15s ease;
}
.faq-card-swiss:hover { border-color: var(--pr-border-strong); }

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pr-text);
  text-align: left;
}

.faq-icon-arrow {
  font-family: var(--pr-font-mono);
  font-size: 0.85rem;
  color: var(--pr-muted);
  transition: transform 0.2s ease;
}

.faq-card-swiss.active .faq-icon-arrow { transform: rotate(180deg); }

.faq-answer-pane {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--pr-muted);
  border-top: 1px solid #f4f4f5;
  padding-top: 16px;
}

.faq-card-swiss.active .faq-answer-pane { display: block; }

/* ═══ ТЕРМИНАЛНА ДЕМО ФОРМА ═══ */
.demo-banner-wrap {
  background: var(--pr-surface);
  color: var(--pr-text);
  border-top: 1px solid var(--pr-border);
  padding: clamp(48px, 6vw, 76px) clamp(16px, 3.5vw, 48px);
}

.demo-inner-box {
  max-width: 640px;
  margin: 0 auto;
  background: #fafafa;
  border: 1px solid var(--pr-border);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.demo-input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pr-border);
  border-radius: 3px;
  font-family: var(--pr-font-mono);
  font-size: 0.82rem;
  outline: none;
  background: #ffffff;
  color: var(--pr-text);
  transition: border-color 0.15s ease;
}
.demo-input-field:focus { 
  border-color: var(--pr-border-strong); 
  box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.05);
}

/* ══════════════════════════════════════════════════════════════════════
   16. SERVICES & FAVORS (УСЛУГИ И ИНТЕГРАЦИИ)
   ══════════════════════════════════════════════════════════════════════ */

/* Наследяване на променливите от основната тема */
:root {
  --fv-bg: var(--sw-bg);
  --fv-surface: var(--sw-surface);
  --fv-border: var(--sw-border);
  --fv-border-strong: var(--sw-border-strong);
  --fv-accent: var(--sw-accent);
  --fv-green: var(--sw-green);
  --fv-text: var(--sw-text);
  --fv-muted: var(--sw-muted);
  --fv-font-mono: var(--sw-font-mono);
  --fv-font-sans: var(--sw-font-sans);
}

/* Главен контейнер с отстояние точно 64px за фиксирания хедър */
.favors-full-wrap {
  width: 100%;
  max-width: 100% !important;
  background-color: var(--fv-bg);
  color: var(--fv-text);
  font-family: var(--fv-font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  padding-top: 64px;
}

/* ═══ ТЕЛЕМЕТРИЧЕН ИНДУСТРИАЛЕН ТИКЕР ═══ */
.favors-telemetry-bar {
  background: var(--fv-surface);
  color: var(--fv-muted);
  border-bottom: 1px solid var(--fv-border);
  padding: 8px clamp(16px, 3.5vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--fv-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 100%;
}

.favors-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--fv-green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px var(--fv-green);
}

/* ═══ ЗАГЛАВЕН БАНЕР ═══ */
.favors-hero-bar {
  width: 100%;
  border-bottom: 1px solid var(--fv-border);
  background: var(--fv-surface);
  padding: clamp(36px, 5vw, 64px) clamp(16px, 3.5vw, 40px);
}

.favors-linear-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fv-font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f4f4f5;
  color: var(--fv-muted);
  border: 1px solid var(--fv-border);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.favors-linear-chip.accent {
  background: #fef2f2;
  color: var(--fv-accent);
  border-color: #fecaca;
}

.favors-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: var(--fv-text);
}

.favors-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--fv-muted);
  max-width: 860px;
  margin: 0;
}

/* ═══ МРЕЖА ЗА КАРТИ ═══ */
.favors-content-container {
  width: 100%;
  padding: clamp(32px, 4vw, 56px) clamp(16px, 3.5vw, 40px);
  border-bottom: 1px solid var(--fv-border);
}

.favors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

/* ═══ КАРТИ ЗА УСЛУГИ (SWISS MINIMAL) ═══ */
.favor-card-box {
  background: var(--fv-surface);
  border: 1px solid var(--fv-border);
  border-radius: 2px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.favor-card-box:hover {
  border-color: var(--fv-border-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.favor-badge-tag {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--fv-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--fv-accent);
  color: #fff;
  padding: 4px 10px;
  border-bottom-left-radius: 2px;
}

.favor-icon-box {
  width: 40px;
  height: 40px;
  background: #f4f4f5;
  color: var(--fv-text);
  border: 1px solid var(--fv-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fv-font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.favor-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  color: var(--fv-text);
}

.favor-box-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--fv-muted);
  margin: 0 0 20px 0;
  min-height: 42px;
}

.favor-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f4f4f5;
  padding-top: 18px;
}

.favor-features-list li {
  font-family: var(--fv-font-mono);
  font-size: 0.78rem;
  color: var(--fv-text);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.favor-features-list li span {
  font-weight: 700;
  color: var(--fv-muted);
  font-size: 0.65rem;
}

/* ═══ БУТОН ЗА ДЕЙСТВИЕ ═══ */
.btn-favor-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: var(--fv-surface);
  color: var(--fv-text);
  border: 1px solid var(--fv-border);
  border-radius: 2px;
  font-family: var(--fv-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-favor-action:hover {
  background: #f4f4f5;
  border-color: var(--fv-border-strong);
  color: var(--fv-text);
}

.btn-favor-action span.arrow {
  transition: transform 0.15s ease;
}

.btn-favor-action:hover span.arrow {
  transform: translateX(3px);
}

/* ═══ 17. СОЦИАЛНИ МЕДИИ И ОБЩНОСТ (ГОЛЯМ БЛОК С ВИДЕО НАД КАРТИТЕ) ═══ */
.social-stage-section {
  position: relative;
  width: 100%;
  min-height: 95vh; /* Огромен блок, за да има много празно пространство за клипа */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Избутва заглавието и картите най-долу */
  background: #09090b;
  border-bottom: 2px solid #ffffff;
  overflow: hidden;
  padding: 120px clamp(20px, 4vw, 60px) clamp(40px, 6vh, 60px);
}

.social-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 1 !important; /* 100% яркост - без прозрачност */
  filter: contrast(1.1) brightness(1.05); /* Изчиства и освежава по-тъмните клипове */
  transform: translateZ(0);
}

.social-inner-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-headline {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 12px 0;
  /* Плътен сенчест ореол около текста за перфектна четимост без овърлей */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.9);
}

.social-subline {
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: #ffffff;
  max-width: 680px;
  margin: 0 0 34px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.social-media-card {
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 20px 18px;
  text-decoration: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 145px;
  transition: all 0.2s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-media-card:hover {
  background: rgba(28, 28, 35, 0.92);
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.social-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.social-tag {
  font-family: var(--sw-font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #f87171;
  letter-spacing: 0.05em;
}

.social-arrow {
  color: #a1a1aa;
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-media-card:hover .social-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

.social-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-svg-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.social-media-card:hover .social-svg-icon {
  transform: scale(1.1);
}

.social-platform-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.social-platform-desc {
  font-size: 0.72rem;
  color: #d4d4d8;
  font-family: var(--sw-font-mono);
  margin-top: 3px;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .social-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .social-cards-grid {
    grid-template-columns: 1fr;
  }
  .social-stage-section {
    min-height: auto;
    padding: 60px 16px;
  }
}
/* ══════════════════════════════════════════════════════════════════════
   🔐 LOGIN VIEW MODULE (Адаптиран към Swiss Cinematic SaaS)
   ══════════════════════════════════════════════════════════════════════ */

/* Центриране на страницата за вход */
body.login-page {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sw-font-sans);
  color: var(--sw-text);
  background-color: #09090b;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ─── КАРТА ЗА ВХОД ─── */
.login-card {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 12px !important; /* По-малък и стегнат радиус */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 680px;
  width: 100%;
  position: relative;
  overflow: hidden !important;
  isolation: isolate;
}

.login-card .mono-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--sw-border);
  background: #fafafa;
}

.login-card .mono-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.login-card .mono-title-group h1 {
  font-size: 0.90rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--sw-text);
  font-family: var(--sw-font-mono);
  margin: 0;
}

.login-card .mono-tag {
  font-family: var(--sw-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--sw-border);
  border-radius: 4px !important; /* Фин технически радиус */
  background: #f4f4f5;
  color: var(--sw-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.login-card .mono-tag.live { 
  border-color: var(--sw-border-strong); 
  color: var(--sw-text); 
  background: #ffffff; 
}
.login-card .dot-live { 
  width: 6px; 
  height: 6px; 
  background: var(--sw-green); 
  border-radius: 50% !important; 
  display: inline-block; 
}

/* Бутон "Обратно" в хедъра */
.btn-back-square {
  font-family: var(--sw-font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--sw-border-strong);
  border-radius: 6px !important; /* Намален от 14px */
  background: var(--sw-surface);
  color: var(--sw-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-back-square:hover {
  background: var(--sw-border-strong);
  color: #ffffff;
}

.login-body {
  padding: clamp(20px, 3.5vw, 32px);
}

.login-sub-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--sw-border);
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.login-sub-header .title-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sw-text);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.login-sub-header .tenant-info {
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  color: var(--sw-muted);
  text-transform: uppercase;
}

/* Грешки / Известия */
.mono-alert {
  padding: 12px 16px;
  border: 1px solid #fca5a5;
  border-radius: 6px !important; /* Намален от 14px */
  background: #fef2f2;
  color: #b91c1c;
  font-family: var(--sw-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Форма и грид */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.form-group {
  margin-bottom: 14px;
}
.form-group:last-child {
  margin-bottom: 0;
}

.mono-label {
  font-family: var(--sw-font-mono);
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sw-muted);
  margin-bottom: 6px;
  display: block;
}

.mono-input {
  width: 100%;
  height: 44px;
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 6px !important; /* Намален от 14px */
  padding: 0 14px;
  font-family: var(--sw-font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sw-text);
  outline: none;
  transition: all 0.15s ease;
}
.mono-input:focus {
  border-color: var(--sw-border-strong);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}

/* Капча модул */
.captcha-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fafafa;
  border: 1px solid var(--sw-border);
  border-radius: 8px !important; /* Намален от 18px */
  padding: 14px;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.captcha-display {
  font-family: var(--sw-font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sw-text);
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 6px !important; /* Намален от 14px */
  padding: 6px 12px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  user-select: none;
  overflow: hidden;
}
.captcha-display svg {
  max-height: 32px;
  width: auto;
}

.btn-captcha-refresh {
  background: var(--sw-surface);
  border: 1px solid var(--sw-border);
  border-radius: 6px !important; /* Намален от 14px */
  color: var(--sw-text);
  height: 44px;
  width: 44px;
  cursor: pointer;
  font-family: var(--sw-font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.btn-captcha-refresh:hover {
  background: var(--sw-border-strong);
  color: #ffffff;
}

/* Бутон за вход */
.mono-btn {
  height: 44px;
  font-family: var(--sw-font-mono);
  font-size: 0.80rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  width: 100%;
  border: 1px solid var(--sw-border-strong);
  border-radius: 6px !important; /* Намален от 14px */
}
.mono-btn-primary {
  background: var(--sw-border-strong);
  color: #ffffff;
}
.mono-btn-primary:hover {
  background: #27272a;
  transform: translateY(-1px);
}

/* Долни линкове и футър лента */
.login-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
}
.login-links-row a {
  color: var(--sw-muted);
  text-decoration: none;
  font-weight: 600;
}
.login-links-row a:hover {
  color: var(--sw-text);
  text-decoration: underline;
}

.login-footer-strip {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--sw-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sw-font-mono);
  font-size: 0.68rem;
  color: var(--sw-muted);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .login-sub-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .login-card .mono-header { flex-wrap: wrap; gap: 10px; }
  body.login-page { padding: 12px; }
}

/* ==========================================================================
   🫧 ULTRA ROUNDED OVERRIDE — ЯКО ЗАОБЛЯНЕ НА ВСИЧКИ БЛОКОВЕ И БУТОНИ
   ========================================================================== */

/* 1. Големи контейнери и секционни кутии (28px) */
.sx-core-stage,
.sx-phones-stage,
.sx-mig-simulator,
.sx-ai-container,
.sx-apps-card,
.sx-price-box,
.sx-reason-box,
.sx-path-card,
.sx-storefront-preview,
.sx-reasons-cta-row,
.sx-map-canvas-container {
  border-radius: 28px !important;
  overflow: hidden;
}

/* 2. Вътрешни карти, табло за телеметрия, FAQ и обяснителни блокове (20px) */
.sx-node-card,
.sx-kkz-card,
.sx-mob-telemetry-box,
.sx-core-telemetry-bar,
.sx-mig-store-card,
.sx-mig-step-btn,
.sx-vol-box,
.sx-faq-item,
.sx-ai-prod-card,
.sx-neural-result-item,
.sx-chat-bubble-ai,
.sx-chat-bubble-user,
.sx-chat-input-sim,
.sx-neural-meta-bar,
.sx-apps-qr-card,
.sx-canvas-hud,
.sx-ai-verdict,
.sx-dp-card,
.sx-dp-order-row,
.sx-dp-shop-item {
  border-radius: 20px !important;
}

.sx-ai-prod-card,
.sx-faq-item,
.sx-dp-shop-item {
  overflow: hidden;
}

/* Глифовете С, Д, Т, П в 4-те стълба */
.sx-pillar-glyph {
  border-radius: 18px !important;
}

/* Снимките вътре в картите */
.sx-neural-thumb,
.sx-ai-prod-img-wrap {
  border-radius: 14px !important;
}

/* 3. Всички бутони, табове, хапчета (pills) и баджове — 999px */
.sx-btn,
.sx-hero-pill,
.sx-mob-tab,
.sx-path-tab,
.sx-ai-module-pill,
.sx-ai-style-chip,
.sx-ai-add-cart-btn,
.sx-ai-replay-btn,
.sx-neural-preset-btn,
.sx-apps-scr-btn,
.sx-kkz-tag,
.sx-apps-role-tag,
.sx-mig-orders-pill,
.sx-mig-packet-chip,
.sx-mig-offer-strip,
.sx-splash-badge,
.sx-dp-btn,
.sx-vol-badge,
.sx-faq-num {
  border-radius: 999px !important;
}

/* 4. Полета за писане, търсачки и форма за контакт (18px) */
.sx-light-input,
.sx-neural-input-box,
#sxMigStoreUrlInput,
#mainDemoForm input[type="number"],
#mainDemoForm > div:has(input[name="captcha"]) {
  border-radius: 18px !important;
}

/* Телефоните стават още по-гладки */
.sx-demo-phone,
.sx-phone-frame {
  border-radius: 44px !important;
}
.sx-demo-phone-screen,
.sx-phone-screen {
  border-radius: 34px !important;
}

/* ==========================================================================
   🫧 ЯКО ЗАОБЛЯНЕ НА ХЕДЪРА, МЕГА МЕНЮТАТА И КУТИИТЕ В ТЯХ
   ========================================================================== */

/* 1. Самият горен хедър (при скрол/бял фон) + падащото мега меню */
.saas-header.is-scrolled:not(.mega-menu-open),
.saas-header.is-solid:not(.mega-menu-open) {
  border-radius: 0 0 26px 26px !important;
}

.mega-menu-dropdown {
  border-radius: 0 0 28px 28px !important;
  overflow-x: hidden !important;
}

/* 2. Лого, баджове, бутони и навигация в горния хедър */
.saas-nav-links .nav-link-btn,
.btn-swiss-link,
.saas-logo-badge {
  border-radius: 999px !important;
}

.saas-logo-icon,
.saas-sidebar-toggle {
  border-radius: 10px !important;
}

/* 3. Кутиите (картите) вътре в Мега Менюто */
.mega-plan-card,
.mega-demo-card,
.mega-highlight-col {
  border-radius: 24px !important;
  overflow: hidden !important;
}

.mega-item {
  border-radius: 16px !important;
}

.mega-thumb {
  border-radius: 12px !important;
}

.mega-infra-preview,
.mega-plan-img,
.mega-demo-banner {
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* Бутони, баджове и инпути вътре в Мега Менюто */
.mega-plan-btn,
.mega-demo-submit-btn,
.mega-plan-badge,
.mega-highlight-badge {
  border-radius: 999px !important;
}

.mega-mini-input {
  border-radius: 12px !important;
}

/* Мобилното странично меню (Drawer) */
.saas-sidebar-drawer {
  border-radius: 0 28px 28px 0 !important;
  overflow: hidden !important;
}

.drawer-close-btn,
.drawer-links a {
  border-radius: 12px !important;
}

/* 4. Допълнително заобляне за останалите кутии от style.css (Цени, Терминали, Демо, Социални) */
.swiss-price-card,
.swiss-service-item,
.favor-card-box,
.social-media-card,
.hero-terminal-glass,
.live-stock-terminal,
.waybill-live-card,
.demo-inner-box,
.table-responsive-swiss {
  border-radius: 24px !important;
  overflow: hidden !important;
}

.faq-card-swiss,
.barcode-card,
.waybill-barcode-zone,
.stat-mini-pill-grid,
.terminal-stream-glass {
  border-radius: 16px !important;
}

.btn-swiss-hero,
.swiss-wrapper .btn-linear,
.btn-plan-action,
.btn-favor-action,
.linear-chip-glass,
.pricing-linear-chip,
.favors-linear-chip,
.hero-rotating-badge,
.pricing-toggle-btn,
.toggle-pill,
.card-feature-pill,
.plan-limit-pill {
  border-radius: 999px !important;
}

.pricing-toggle-wrap,
.linear-input,
.demo-input-field {
  border-radius: 14px !important;
}