/* =========================================================================
   1. ГЛОБАЛНИ ПРОМЕНЛИВИ (MASTER VARIABLES)
   ========================================================================= */
:root {
  --saas-primary: #2563eb;
  --saas-primary-hover: #1d4ed8;
  --saas-accent: #06b6d4;
  --saas-sky: #38bdf8;
  --saas-dark: #0b0f19;
  --saas-card-bg: rgba(15, 23, 42, 0.82);
  --saas-card-border: rgba(255, 255, 255, 0.1);
  --saas-card-border-hover: rgba(56, 189, 248, 0.45);
  --saas-text-main: #f8fafc;
  --saas-text-muted: #94a3b8;
  --saas-highlight-bg: rgba(56, 189, 248, 0.07);
  --saas-max-width: 1440px;
  --saas-pad-x: clamp(16px, 4vw, 48px);
}

/* =========================================================================
   2. ГЛОБАЛЕН РЕСЕТ & ОСНОВНИ СТИЛОВЕ
   ========================================================================= */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--saas-dark);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(circle at 100% 40%, rgba(6, 182, 212, 0.08), transparent 50%);
  background-attachment: fixed;
  color: var(--saas-text-main);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
}

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

a { 
  text-decoration: none; 
  color: inherit; 
}

/* =========================================================================
   3. НАВИГАЦИЯ (HEADER) + СТРАНИЧЕН DRAWER
   ========================================================================= */

/* Главна фиксирана лента */
.saas-header {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000;
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 8, 17, 0.92); 
  border-bottom: 1px solid var(--saas-card-border);
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.saas-nav-container {
  max-width: var(--saas-max-width); 
  width: 100%;
  margin: 0 auto; 
  padding-left: clamp(60px, 5vw, 70px);
  padding-right: var(--saas-pad-x);
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 16px;
}

/* 🍔 Бутон с 3-те ленти */
.saas-sidebar-toggle {
  position: absolute;
  left: clamp(10px, 2vw, 16px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  display: inline-flex;
  width: 42px;
  height: 42px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.saas-sidebar-toggle:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--saas-sky);
  transform: translateY(-50%) scale(1.04);
}

.saas-sidebar-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* 🌟 Лого */
.saas-logo {
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease;
}

.saas-logo:hover {
  transform: translateY(-1px);
}

.saas-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  padding: 7px 16px;
  border-radius: 12px; 
  font-size: clamp(1.1rem, 2.2vw, 1.35rem); 
  font-weight: 900;
  color: #ffffff; 
  letter-spacing: -0.5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.saas-logo-text {
  color: #ffffff; 
  font-weight: 900; 
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  letter-spacing: -0.5px;
  line-height: 1;
}

/* 🧭 Централно меню (Десктоп) */
.saas-nav-links { 
  display: flex; 
  align-items: center;
  justify-content: center;
  gap: 12px; 
}

.saas-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.saas-nav-links a:hover { 
  color: #ffffff; 
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.25);
}

.saas-nav-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.4));
  border-color: var(--saas-sky);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

/* 🔘 Десни бутони */
.saas-nav-actions { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
}

.btn-login {
  color: #fff; 
  font-weight: 700; 
  padding: 10px 18px; 
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18); 
  transition: all 0.25s;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-login:hover { 
  background: rgba(255,255,255,0.1); 
  border-color: rgba(255,255,255,0.35);
}

.btn-cta-main {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff; 
  font-weight: 800; 
  padding: 11px 22px; 
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35); 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
}

.btn-cta-main:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.55); 
  filter: brightness(1.08);
}

/* 👈 Странично меню (Sidebar Drawer) */
.saas-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.saas-drawer-overlay.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.saas-sidebar-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #080c16 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 24px 20px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.saas-sidebar-drawer::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.98rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-links a:hover,
.drawer-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
  border-color: var(--saas-sky);
  transform: translateX(4px);
}

.drawer-divider {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.8px;
  margin: 14px 0 6px 6px;
}

.drawer-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================================================
   4. HERO & SHOWCASE СЕКЦИИ (LANDING)
   ========================================================================= */
.saas-hero {
  position: relative; 
  padding: 150px var(--saas-pad-x) 70px; 
  max-width: var(--saas-max-width); 
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: rgba(37, 99, 235, 0.15); 
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--saas-sky); 
  padding: 6px 18px; 
  border-radius: 40px; 
  font-weight: 800; 
  font-size: clamp(0.75rem, 2vw, 0.9rem); 
  margin-bottom: 24px; 
  text-transform: uppercase; 
  letter-spacing: 0.8px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 4.2rem); 
  font-weight: 900; 
  line-height: 1.15;
  letter-spacing: -0.03em; 
  margin: 0 auto 20px;
  max-width: 1200px;
  width: 100%;
  word-break: break-word;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem); 
  color: var(--saas-text-muted); 
  max-width: 900px; 
  width: 100%;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex; 
  gap: 14px; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-mockup-wrapper {
  position: relative; 
  border-radius: clamp(14px, 3vw, 24px);
  padding: clamp(8px, 1.5vw, 14px); 
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15); 
  box-shadow: 0 25px 80px rgba(0,0,0,0.7);
  width: 100%;
  margin: 0 auto;
}

.hero-mockup-img {
  width: 100%; 
  height: auto; 
  max-height: 720px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: clamp(10px, 2vw, 16px); 
  display: block;
}

.mockup-floating-tag {
  position: absolute; 
  bottom: 24px; 
  left: 24px; 
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 22px; 
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2); 
  display: flex; 
  align-items: center; 
  gap: 14px;
  text-align: left;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.split-showcase {
  display: grid; 
  grid-template-columns: 1.1fr 1fr; 
  gap: clamp(30px, 5vw, 60px); 
  align-items: center;
  margin-bottom: clamp(30px, 5vw, 60px); 
  background: rgba(11, 17, 32, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: clamp(20px, 3vw, 30px); 
  padding: clamp(24px, 4.5vw, 56px);
  border: 1px solid var(--saas-card-border);
  width: 100%;
}

.split-showcase.reverse { 
  grid-template-columns: 1fr 1.1fr; 
}

.split-showcase.reverse .split-content { 
  order: 2; 
}

.split-showcase.reverse div:last-child { 
  order: 1; 
}

.split-img { 
  width: 100%; 
  height: clamp(240px, 35vw, 420px);
  border-radius: 16px; 
  object-fit: cover; 
  border: 1px solid rgba(255,255,255,0.12); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.split-content h3 { 
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); 
  font-weight: 900; 
  margin-bottom: 14px; 
  line-height: 1.25; 
}

.split-content p { 
  color: var(--saas-text-muted); 
  margin-bottom: 20px; 
  font-size: clamp(0.95rem, 1.5vw, 1.08rem); 
}

.split-list { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
}

.split-list li { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-weight: 700; 
  font-size: 0.98rem; 
  color: #e2e8f0;
}

/* =========================================================================
   5. FEATURES & ОБЩИ СЕКЦИИ
   ========================================================================= */
.saas-section { 
  padding: clamp(60px, 8vw, 110px) var(--saas-pad-x); 
  max-width: var(--saas-max-width); 
  width: 100%;
  margin: 0 auto; 
}

.section-head { 
  text-align: center; 
  margin-bottom: clamp(35px, 6vw, 65px); 
}

.section-head h2 { 
  font-size: clamp(1.8rem, 4vw, 3rem); 
  font-weight: 900; 
  letter-spacing: -0.02em; 
  margin-bottom: 12px; 
}

.section-head p { 
  color: var(--saas-text-muted); 
  font-size: clamp(0.95rem, 1.8vw, 1.15rem); 
  max-width: 800px; 
  margin: 0 auto; 
}

.features-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: clamp(18px, 2.5vw, 32px);
  width: 100%;
}

.feature-card {
  background: var(--saas-card-bg); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--saas-card-border);
  padding: clamp(24px, 4vw, 36px); 
  border-radius: 20px; 
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover { 
  transform: translateY(-5px); 
  border-color: var(--saas-card-border-hover); 
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.feature-icon-box {
  width: 56px; 
  height: 56px; 
  border-radius: 14px; 
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35); 
  display: flex; 
  align-items: center;
  justify-content: center; 
  font-size: 1.6rem; 
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card h3 { 
  font-size: clamp(1.2rem, 2vw, 1.4rem); 
  font-weight: 800; 
  margin-bottom: 10px; 
}

.feature-card p { 
  color: var(--saas-text-muted); 
  font-size: 0.98rem; 
  line-height: 1.6; 
}

/* =========================================================================
   6. PRICING, TOGGLES, TABLES & SERVICES
   ========================================================================= */
.pricing-hero-section {
  padding: clamp(110px, 12vw, 140px) 20px 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-billing-toggle {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px;
  margin: 25px auto 10px;
  gap: 6px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.discount-pill {
  background: #22c55e;
  color: #022c22;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-left: 4px;
}

.pricing-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); 
  gap: clamp(20px, 3vw, 36px); 
  width: 100%;
  align-items: stretch;
}

.pricing-card {
  background: var(--saas-card-bg); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--saas-card-border);
  border-radius: 24px; 
  padding: clamp(28px, 4vw, 44px); 
  display: flex; 
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--saas-sky); 
  background: linear-gradient(180deg, #132242 0%, #0a1324 100%);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.pricing-badge {
  position: absolute; 
  top: -14px; 
  right: 24px; 
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff; 
  font-weight: 800; 
  font-size: 0.78rem; 
  padding: 5px 14px; 
  border-radius: 30px; 
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.pricing-title { 
  font-size: 1.4rem; 
  font-weight: 800; 
  margin-bottom: 4px; 
}

.pricing-price { 
  font-size: clamp(2.2rem, 4vw, 3rem); 
  font-weight: 900; 
  margin: 16px 0; 
  letter-spacing: -1px;
}

.pricing-price span { 
  font-size: 1rem; 
  color: var(--saas-text-muted); 
  font-weight: 600; 
}

.pricing-features { 
  list-style: none; 
  margin: 20px 0 32px; 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
  flex: 1; 
}

.pricing-features li { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: #cbd5e1; 
  font-size: 0.95rem; 
}

/* Сравнителна таблица & Бисквитки таблица */
.compare-table-wrapper,
.saas-table-wrap {
  max-width: 1200px;
  margin: 40px auto;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.compare-table,
.saas-cookie-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td,
.saas-cookie-table th, .saas-cookie-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.compare-table th,
.saas-cookie-table th {
  background: #080c16;
  color: var(--saas-sky);
  font-weight: 800;
  font-size: 1rem;
}

.compare-table tr:hover td,
.saas-cookie-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.check-yes { color: #4ade80; font-weight: 900; }
.check-no { color: #64748b; font-weight: 700; }

.cookie-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.cookie-tag.necessary { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.cookie-tag.analytics { background: rgba(56, 189, 248, 0.15); color: var(--saas-sky); border: 1px solid rgba(56, 189, 248, 0.3); }
.cookie-tag.marketing { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

/* Допълнителни услуги & FAQ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  width: 100%;
}

.service-box {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s;
  text-align: left;
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.4);
}

.service-price-tag {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--saas-sky);
  margin-top: 14px;
}

.faq-wrapper {
  max-width: 860px;
  margin: 50px auto 0;
  width: 100%;
  text-align: left;
}

.faq-item {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-toggle-icon { transform: rotate(180deg); }

/* =========================================================================
   7. ЛЕГАЛНИ & МАРКЕТИНГ СТРАНИЦИ (LEGAL CARDS)
   ========================================================================= */
.saas-legal-wrap {
  width: 100%;
  max-width: var(--saas-max-width);
  margin: 0 auto;
  padding: clamp(100px, 12vw, 130px) var(--saas-pad-x) 80px;
}

.saas-legal-card {
  width: 100%;
  background: var(--saas-card-bg);
  border: 1px solid var(--saas-card-border);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 50px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.saas-legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.saas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  color: var(--saas-sky);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.saas-legal-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.saas-last-updated {
  color: var(--saas-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.saas-legal-card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--saas-sky);
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.saas-legal-card p {
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.saas-legal-card ul {
  margin: 14px 0 24px 0;
  padding-left: 0;
  list-style-type: none;
}

.saas-legal-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 1rem;
}

.saas-legal-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--saas-sky);
  font-size: 0.9rem;
}

.saas-highlight-box {
  width: 100%;
  background: var(--saas-highlight-bg);
  border-left: 4px solid var(--saas-sky);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 28px 0;
  color: #e0f2fe;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.saas-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.saas-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 20px;
  border-radius: 12px;
  color: var(--saas-sky);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.saas-contact-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--saas-sky);
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================================================
   8. АВТЕНТИКАЦИЯ / ФОРМИ / ПОТРЕБИТЕЛСКИ ПАНЕЛ
   ========================================================================= */
.auth-main-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(100px, 14vw, 130px) 16px 50px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saas-auth-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(37, 99, 235, 0.12);
  width: 100%;
  border-radius: clamp(18px, 3vw, 24px);
  padding: clamp(24px, 5vw, 38px);
  text-align: left;
}

.auth-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.auth-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 900;
  text-align: center;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 22px;
}

.saas-form-group {
  margin-bottom: 16px;
}

.saas-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.saas-input-wrapper {
  position: relative;
  width: 100%;
}

.saas-input,
.form-input {
  width: 100%;
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 16px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.saas-input {
  padding-right: 42px;
}

.saas-input:focus,
.form-input:focus {
  border-color: var(--saas-sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.pass-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: #94a3b8;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-saas-submit,
.saas-order-btn,
.btn-main {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
}

.btn-saas-submit:hover,
.saas-order-btn:hover,
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
  opacity: 0.98;
}

.saas-alert-box,
.alert-err {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.saas-alert-box.alert-suc {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.saas-auth-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: 0.88rem;
}

.saas-link {
  color: var(--saas-sky);
  font-weight: 700;
}

.saas-link:hover {
  text-decoration: underline;
}

/* =========================================================================
   9. НОВ ОБЕКТ, ПОРЪЧКИ & VERIFY СТРАНИЦИ
   ========================================================================= */
.new-obj-wrap,
.saas-order-wrap,
.saas-verify-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(90px, 12vw, 120px) 16px 50px;
}

.new-obj-card,
.saas-order-card,
.saas-verify-card,
.card {
  width: 100%;
  max-width: 580px;
  background: var(--saas-card-bg);
  border: 1px solid var(--saas-card-border);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
}

.new-obj-card {
  max-width: 860px;
  text-align: left;
}

.form-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--saas-sky);
  margin: 20px 0 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.plan-radio-card {
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.plan-radio-card:hover {
  border-color: var(--saas-sky);
  transform: translateY(-2px);
}

.saas-icon-box,
.saas-status-icon,
.icon-box {
  font-size: 3.5rem;
  line-height: 1;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.saas-status-icon.is-success,
.icon-box {
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
}

.saas-status-icon.is-error {
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.4));
}

.saas-order-title,
.saas-title {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.saas-order-msg,
.saas-msg,
p.sub {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.saas-order-details,
.info-box {
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.saas-order-row,
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.dns-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.45;
}

/* =========================================================================
   10. COOKIE BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.cookie-banner-content { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.cookie-text { 
  font-size: 0.88rem; 
  color: #94a3b8; 
  line-height: 1.5;
}

.cookie-actions { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
  margin-top: 4px;
}

.btn-cookie-primary, .btn-cookie-secondary {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cookie-primary { background: #2563eb; color: #fff; border: none; }
.btn-cookie-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.btn-cookie-settings { background: none; border: none; color: #94a3b8; text-decoration: underline; cursor: pointer; padding: 6px; font-size: 0.85rem; }

/* =========================================================================
   11. ФУТЪР (FOOTER)
   ========================================================================= */
.saas-footer-wrap {
  width: 100%;
  background: #03050a;
  color: #94a3b8;
  border-top: 1px solid var(--saas-card-border);
  padding: clamp(50px, 6vw, 80px) 0 calc(30px + env(safe-area-inset-bottom, 0px));
  margin-top: 50px;
}

.saas-footer-container {
  max-width: var(--saas-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--saas-pad-x);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 50px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--saas-card-border);
}

.saas-f-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.saas-f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.saas-f-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--saas-text-muted);
  margin-bottom: 20px;
  max-width: 440px;
}

.saas-f-company-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
}

.saas-f-company-box div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.saas-f-company-box strong { color: #cbd5e1; }
.saas-f-company-box a { color: var(--saas-sky); }

.saas-f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.saas-f-links li a {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.saas-f-links li a:hover {
  color: var(--saas-sky);
  transform: translateX(4px);
}

.saas-f-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.saas-pill-tag {
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--saas-sky);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.saas-footer-bottom {
  max-width: var(--saas-max-width);
  width: 100%;
  margin: 30px auto 0;
  padding: 0 var(--saas-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.saas-copy { color: #64748b; }

.saas-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.saas-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.saas-pay-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================================================
   12. СЕКЦИЯ КОНТАКТИ
   ========================================================================= */
.contacts-wrapper {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 16px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}

.contact-card-box {
  background: #ffffff;
  border: 1.5px solid var(--border-theme, #e2e8f0);
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border-light, #f1f5f9);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-hover, #f1f5f9);
  color: var(--primary, #0f766e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-group {
  margin-bottom: 16px;
}

.contact-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary, #475569);
  margin-bottom: 6px;
}

.contact-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-theme, #cbd5e1);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
  color: var(--text-primary, #0f172a);
  box-sizing: border-box;
}

.contact-form-control:focus {
  border-color: var(--primary, #0f766e);
}

.btn-submit-contact {
  width: 100%;
  padding: 14px;
  background: var(--primary, #0f766e);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-submit-contact:hover {
  opacity: 0.92;
}

.btn-submit-contact:active {
  transform: scale(0.99);
}

/* =========================================================================
   13. СТРАНИЦА УСЛУГИ (FAVORS / SERVICES SAAS DESIGN)
   ========================================================================= */
.favors-wrapper {
  max-width: var(--saas-max-width);
  width: 100%;
  margin: 0 auto;
  padding: clamp(110px, 12vw, 140px) var(--saas-pad-x) 80px;
}

.favors-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(35px, 6vw, 60px);
}

.favors-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--saas-sky);
  padding: 6px 18px;
  border-radius: 40px;
  font-weight: 800;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.favors-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}

.favors-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.favors-subtitle {
  color: var(--saas-text-muted);
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  line-height: 1.6;
}

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

.favor-card-box {
  position: relative;
  background: var(--saas-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--saas-card-border);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.favor-card-box:hover {
  transform: translateY(-6px);
  border-color: var(--saas-card-border-hover);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.22);
}

.favor-badge-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: var(--saas-sky);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.favor-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.favor-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.favor-box-desc {
  color: var(--saas-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.favor-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.favor-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
}

.favor-features-list li span {
  color: var(--saas-sky);
  font-weight: 900;
  font-size: 1.05rem;
}

.btn-favor-action {
  width: 100%;
  min-height: 46px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  box-sizing: border-box;
}

.btn-favor-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55);
  filter: brightness(1.08);
}

/* =========================================================================
   14. МОБИЛНА ОПТИМИЗАЦИЯ (CONSOLIDATED RESPONSIVE RULES)
   ========================================================================= */

/* 💻 Таблети и средни екрани (до 1024px) */
@media (max-width: 1024px) {
  .saas-footer-container { 
    grid-template-columns: 1.5fr 1fr 1fr; 
  }
  .saas-footer-container .saas-f-col:last-child {
    grid-column: span 3;
  }
}

/* 📱 Вертикални таблети и големи телефони (до 900px) */
@media (max-width: 900px) {
  .saas-nav-links { 
    display: none; 
  }

  .split-showcase, 
  .split-showcase.reverse { 
    grid-template-columns: 1fr; 
    gap: 24px; 
    padding: 24px 20px;
  }
  
  .split-showcase.reverse .split-content { 
    order: 1; 
  }
  
  .split-showcase.reverse div:last-child { 
    order: 2; 
  }

  .mockup-floating-tag { 
    display: none; 
  }

  .saas-footer-container { 
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
  }

  .saas-footer-container .saas-f-col:first-child,
  .saas-footer-container .saas-f-col:last-child {
    grid-column: span 2;
  }
}

/* 📱 Специфично за формата за контакти (до 820px) */
@media (max-width: 820px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* 📱 Телефони (до 640px) */
@media (max-width: 640px) {
  .saas-header { 
    padding: 10px 0; 
  }

  .saas-nav-actions .btn-cta-main {
    display: none !important;
  }

  .btn-login {
    padding: 8px 14px;
    font-size: 0.88rem;
  }

  .saas-hero { 
    padding-top: 100px;
    padding-bottom: 35px;
  }

  .hero-cta-group { 
    flex-direction: column; 
    width: 100%; 
    gap: 10px;
  }
  
  .hero-cta-group a, 
  .hero-cta-group button { 
    width: 100%; 
  }

  .features-grid, 
  .pricing-grid,
  .services-grid,
  .favors-grid { 
    grid-template-columns: 1fr; 
  }

  .pricing-card.featured { 
    transform: none; 
  }

  .favors-wrapper {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .favor-card-box {
    padding: 22px 18px;
  }

  .saas-contact-grid {
    flex-direction: column;
  }

  .saas-contact-pill {
    width: 100%;
  }

  .saas-order-row,
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .saas-footer-container { 
    grid-template-columns: 1fr; 
    gap: 26px;
  }

  .saas-footer-container .saas-f-col:first-child,
  .saas-footer-container .saas-f-col:last-child {
    grid-column: span 1;
  }

  .saas-footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 14px;
  }

  .saas-payments {
    justify-content: center;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
  }
}

/* 📱 Малки телефони (до 380px) */
@media (max-width: 380px) {
  .saas-logo-text,
  .saas-logo span:not(.saas-logo-badge) {
    display: none;
  }

  .btn-login {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .btn-cta-main {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .auth-main-container,
  .new-obj-wrap,
  .saas-order-wrap,
  .saas-verify-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .saas-auth-card,
  .saas-legal-card,
  .new-obj-card,
  .saas-order-card {
    padding: 20px 14px;
  }
}
/* =========================================================================
   15. ПЛАНОВЕ, ЛИМИТИ & ФОРМА ЗА НОВ ОБЕКТ (SaaS SUBSCRIPTION / NEW OBJECT)
   ========================================================================= */

/* 🌟 БАДЖ ЗА ЛИМИТ НА ПРОДУКТИТЕ (Ценова листа и Планове - 100% ширина в картата) */
.plan-limit-pill,
.plan-pill-limit {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 12px 0 6px;
}

.plan-limit-pill.unlimited,
.plan-pill-limit.unlimited {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

/* 🌟 КОНТЕЙНЕР ЗА НОВ ОБЕКТ (СИНХРОНИЗИРАН С ШИРИНАТА НА ФУТЪРА И ХЕДЪРА) */
.new-obj-container {
  max-width: var(--saas-max-width) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(100px, 12vw, 130px) var(--saas-pad-x) 80px !important;
  box-sizing: border-box;
}

.new-obj-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  width: 100%;
}

/* 🌟 СЕКЦИИ И КАРТИ */
.section-card {
  width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-title .step-num {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #fff;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

/* 🌟 ПРЕВКЛЮЧВАТЕЛ НА ПЕРИОДИ */
.period-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(8, 12, 22, 0.8);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.period-tab-btn {
  flex: 1 1 180px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.period-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.period-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(37, 99, 235, 0.25) 100%);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.period-tab-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 8px;
  font-weight: 900;
}

/* 🌟 КАРТИ ЗА ИЗБОР НА ПЛАН */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

.plan-card-box {
  position: relative;
  background: rgba(8, 12, 22, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.plan-card-box:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(8, 12, 22, 0.95);
  transform: translateY(-3px);
}

.plan-card-box.active {
  border-color: #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, rgba(8, 12, 22, 0.95) 100%);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
}

.plan-card-box input[type="radio"] {
  position: absolute;
  top: 18px;
  right: 18px;
  accent-color: #38bdf8;
  transform: scale(1.3);
  cursor: pointer;
}

.plan-card-box .plan-price-val {
  font-size: 1.9rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  margin: 12px 0 4px;
}

/* 🌟 ФОРМИ (2-КОЛОНЕН ГРИД) */
.forms-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .forms-grid-layout {
    grid-template-columns: 1fr;
  }
}

.form-col-card {
  background: rgba(8, 12, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.form-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 2px;
}

/* 🌟 ДОЛНА ЛЕНТА С ФИНАЛНА ЦЕНА & БУТОН ЗА ПОРЪЧКА */
.bottom-checkout-bar {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* =========================================================================
   16. ПРОФИЛ, МОДАЛИ & БЪРЗИ ВРЪЗКИ (PROFILE, RENEW & EDIT MODALS)
   ========================================================================= */

/* 🌟 БЪРЗИ ВРЪЗКИ В ПРОФИЛА */
.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(8, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.quick-action-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-action-btn .qa-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.quick-action-btn .qa-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.quick-action-btn .qa-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-action-btn .qa-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 🌟 КАРТИ ЗА ИЗБОР НА ПЛАН В МОДАЛА */
.plan-select-card {
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.plan-select-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.plan-select-card.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.plan-select-card input[type="radio"] {
  position: absolute;
  top: 12px;
  right: 12px;
  accent-color: #38bdf8;
  transform: scale(1.2);
}

/* 🌟 ИНПУТИ И КАРТИ ЗА МОДАЛА */
.renew-form-input {
  width: 100%;
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 11px 13px;
  color: #fff;
  font-size: 0.9rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.renew-form-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.inv-info-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* 🌟 СТИЛ ЗА МОДАЛНИТЕ ПРОЗОРЦИ (БЕЗ ДА ИЗЛИЗАТ ОТ ЕКРАНА) */
.modal-box-container {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  width: 100%;
  max-width: 620px;
  padding: 26px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  max-height: 88vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-box-container::-webkit-scrollbar {
  width: 6px;
}

.modal-box-container::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}

.modal-box-container::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 10px;
}

.modal-box-container::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6);
}

/* =========================================================================
   17. ТИКЕТИ & ТЕХНИЧЕСКА ПОДДРЪЖКА (SUPPORT TICKETS & HELP DESK)
   ========================================================================= */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-open {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-in_progress {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-answered {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-closed {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.priority-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.prio-urgent {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.prio-high {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.prio-normal {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.prio-low {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}