/* Bulgar Hosting - Master Stylesheet */
:root {
  --bg-main: #0a0d14;
  --bg-card: #111726;
  --bg-card-hover: #172033;
  --bg-input: #ffffff; /* БЯЛ ФОН ЗА ВСИЧКИ INPUT ПОЛЕТА */
  --border-color: rgba(255, 255, 255, 0.15);
  --border-hover: rgba(99, 102, 241, 0.5);
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-glow: rgba(79, 70, 229, 0.35);
  --secondary: #06b6d4;
  --accent-pink: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-main: #ffffff;
  --text-muted: #f8fafc; /* Премахнат замазан mute текст - ярък чист бял/светъл шрифт */
  --card-radius: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Премахване на приглушения сив текст (No Muted Text) */
.text-muted, small.text-muted, span.text-muted, p.text-muted, div.text-muted {
  color: #f1f5f9 !important;
  opacity: 0.95;
  font-weight: 500;
}

/* Background Gradients & Glows */
.bg-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Navbar - ГАРАНТИРАНО НА ЕДИН РЕД */
.navbar-custom {
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  transition: var(--transition);
  z-index: 1050;
  white-space: nowrap !important;
}

.navbar-custom .container-fluid,
.navbar-custom .container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.navbar-brand-logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.logo-badge {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: white;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 0 15px var(--primary-glow);
}

.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem !important;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap !important;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

/* Language Switcher */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap !important;
}

.lang-btn:hover, .lang-btn.active {
  background: #4f46e5;
  border-color: #6366f1;
  color: #ffffff;
}

/* Custom Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap !important;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(79, 70, 229, 0.5);
  color: #ffffff !important;
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap !important;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

/* =========================================================
   ВСИЧКИ INPUT ПОЛЕТА: ПЛЪТЕН БЯЛ ФОН + ЯСЕН ЧЕРЕН ТЕКСТ
   ========================================================= */
input.form-control,
input.custom-input,
select.form-select,
select.custom-input,
textarea.form-control,
textarea.custom-input,
.custom-input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="search"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important; /* Ясен черен/тъмен контрастен шрифт */
  border: 2px solid #94a3b8 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  transition: var(--transition) !important;
}

/* Placeholder стил */
input.form-control::placeholder,
input.custom-input::placeholder,
textarea.form-control::placeholder,
textarea.custom-input::placeholder,
.custom-input::placeholder {
  color: #64748b !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Фокус на input полета */
input.form-control:focus,
input.custom-input:focus,
select.form-select:focus,
select.custom-input:focus,
textarea.form-control:focus,
textarea.custom-input:focus,
.custom-input:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3) !important;
  outline: none !important;
}

/* Input group иконки до полетата */
.input-group-text {
  background-color: #e2e8f0 !important;
  border: 2px solid #94a3b8 !important;
  border-right: none !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

.input-group .form-control,
.input-group .custom-input {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Етикети (Labels) над input полетата */
.form-label, label {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.45rem !important;
  display: block;
}

/* Select options */
select.custom-input option,
select.form-select option {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  padding: 0.5rem !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3rem;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.4);
  color: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff !important;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ffffff !important;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Stat Cards */
.stat-pill {
  background: rgba(17, 23, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* Billing Switcher */
.billing-switcher-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f1523;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2.5rem;
}

.cycle-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cycle-btn.active {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
  box-shadow: 0 2px 12px var(--primary-glow);
}

.save-pill {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #34d399;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 800;
}

/* Pricing Cards */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.2);
}

.plan-card.featured {
  border-color: rgba(99, 102, 241, 0.7);
  background: linear-gradient(180deg, #131b2e 0%, #101626 100%);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}

.plan-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}

.plan-price-wrapper {
  margin: 1rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
}

.plan-period {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-specs {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-bottom: 1.25rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}

.spec-label {
  color: #ffffff;
  font-weight: 600;
}

.spec-val {
  font-weight: 700;
  color: #ffffff;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.plan-features-list li i {
  color: #10b981;
  font-size: 0.85rem;
}

/* Partners Section */
.partner-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.partner-box:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.5);
}

.partner-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

/* Features Grid */
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Tables */
.table-custom {
  color: #ffffff;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-custom th {
  background: transparent;
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.table-custom td {
  background: var(--bg-card);
  border: none;
  padding: 1rem;
  vertical-align: middle;
  color: #ffffff;
}

.table-custom tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.table-custom tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Badges */
.badge-status-active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

.badge-status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

.badge-status-suspended {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Footer */
.footer-custom {
  background: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: #6366f1;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Ensure no washed out muted text */
.text-muted {
  color: #e2e8f0 !important;
}

