/* ===========================================================
   Bulla — modern, fluid overrides
   Layers on top of the existing theme. Brand colors unchanged:
   orange #ff7810 / #ff5e2c, dark navy #111121, white.
   =========================================================== */

:root {
  --bulla-orange: #ff7810;
  --bulla-orange-2: #ff5e2c;
  --bulla-dark: #111121;
  --bulla-radius: 20px;
  --bulla-radius-lg: 28px;
  --bulla-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- typography: Manrope -------- */
body, .btn, input, textarea, select {
  font-family: 'Manrope', 'Poppins', sans-serif;
  letter-spacing: normal;
}
h1, h2, h3, h4, h5, h6,
.section-title h6, .price-title, .nav-link {
  font-family: 'Manrope', 'Poppins', sans-serif;
  letter-spacing: normal;
}
h1, h2, h3, h4, .price-title { font-weight: 800; }

/* -------- fluid type & spacing -------- */
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.15; }
h2.title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); }
.lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }

section { padding-top: clamp(50px, 4vw + 20px, 100px); padding-bottom: clamp(50px, 4vw + 20px, 100px); }

/* -------- soft, rounded, animated buttons -------- */
.btn {
  border-radius: 999px;
  transition: transform 0.35s var(--bulla-ease), box-shadow 0.35s var(--bulla-ease), background 0.35s var(--bulla-ease), color 0.35s var(--bulla-ease);
  animation: none !important;
}
.btn:hover,
.btn:focus {
  animation: none !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(255, 94, 44, 0.45);
}
.btn.btn-theme {
  box-shadow: 0 10px 24px -10px rgba(255, 120, 16, 0.55);
}
.btn.btn-white {
  box-shadow: 0 8px 20px -10px rgba(17, 17, 33, 0.25);
}
.btn.btn-white:hover { box-shadow: 0 14px 26px -12px rgba(17, 17, 33, 0.3); }
.btn.btn-info {
  background: rgba(255, 120, 16, 0.08);
  color: var(--bulla-orange);
}
.btn.btn-info:hover {
  background: rgb(255, 120, 16);
  background: linear-gradient(90deg, rgba(255, 120, 16, 1) 0%, rgba(255, 94, 44, 1) 90%);
  color: #fff;
}
.btn-simple { transition: color 0.3s var(--bulla-ease), transform 0.3s var(--bulla-ease); }
.btn-simple:hover { transform: translateX(4px); }

/* -------- cards: soft, rounded, gentle lift -------- */
.price-table,
.featured-item.style-2,
.work-process-inner {
  border-radius: var(--bulla-radius);
  transition: transform 0.4s var(--bulla-ease), box-shadow 0.4s var(--bulla-ease);
}
.price-table:hover,
.featured-item.style-2:hover,
.work-process:hover .work-process-inner {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(17, 17, 33, 0.22);
}
.price-table.featured {
  border: 2px solid var(--bulla-orange);
}
.featured-item { border-radius: var(--bulla-radius); transition: transform 0.4s var(--bulla-ease), background 0.4s var(--bulla-ease); }
.featured-item:hover { transform: translateY(-4px); }

/* -------- hero decorative blob (replaces removed dashboard screenshot) -------- */
.hero-blob-wrap { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88%;
  padding-top: 88%;
  background: linear-gradient(135deg, rgba(255, 120, 16, 0.28), rgba(255, 94, 44, 0.12) 60%, transparent 80%);
  border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%;
  filter: blur(2px);
  animation: bulla-blob-morph 12s var(--bulla-ease) infinite alternate;
  z-index: 0;
}
.hero-blob-wrap .bnr-img1 { position: relative; z-index: 1; }
@keyframes bulla-blob-morph {
  0% { border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%; transform: rotate(8deg) scale(1.04); }
  100% { border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%; transform: rotate(-6deg) scale(1); }
}

/* -------- pricing tabs -------- */
.pricing-tabs {
  display: inline-flex;
  gap: 4px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 48px;
  box-shadow: 0 8px 24px -14px rgba(17, 17, 33, 0.25);
}
.pricing-tab-btn {
  border: none;
  background: transparent;
  color: var(--bulla-dark);
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--bulla-ease), color 0.35s var(--bulla-ease), box-shadow 0.35s var(--bulla-ease);
}
.pricing-tab-btn.active {
  background: linear-gradient(90deg, rgba(255, 120, 16, 1) 0%, rgba(255, 94, 44, 1) 90%);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(255, 120, 16, 0.55);
}
.pricing-tab-panel { animation: bulla-fade-in 0.4s var(--bulla-ease); }
@keyframes bulla-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------- section rhythm -------- */
.section-title h6 { border-radius: 999px; padding: 5px 16px; }

/* -------- product icons: normalize height regardless of source aspect ratio -------- */
#products .featured-icon img {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* -------- equal-height product cards -------- */
#products .row > [class*="col-"] { display: flex; }
#products .featured-item.style-2 { width: 100%; display: flex; flex-direction: column; }
#products .featured-desc { display: flex; flex-direction: column; flex: 1 1 auto; }
#products .featured-desc p { flex: 1 1 auto; }
#products .product-actions { margin-top: auto; }

/* -------- product card action buttons -------- */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.product-actions .btn { margin: 0; }
.product-actions .fab { margin-right: 6px; }

/* -------- equal-height capability cards -------- */
#capabilities .row > [class*="col-"] { display: flex; }
#capabilities .price-table { width: 100%; height: 100%; display: flex; flex-direction: column; }
#capabilities .price-list { flex: 1 1 auto; }

/* -------- footer intro block: modern gradient, no flat black -------- */
.primary-footer .ht-theme-info.dark-bg {
  background-color: transparent;
  background-image:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 120, 16, 0.35) 0%, rgba(255, 120, 16, 0) 55%),
    linear-gradient(160deg, #1a1a34 0%, #111121 55%, #1a1330 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: var(--bulla-radius-lg);
  margin: 24px;
  position: relative;
  overflow: hidden;
}
.primary-footer .ht-theme-info.dark-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
}

/* -------- lead-capture modal (Get in Touch / Request Demo / Partner With Us) -------- */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(17, 17, 33, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--bulla-ease);
}
.lead-modal-overlay[hidden] { display: none; }
.lead-modal-overlay.is-open { opacity: 1; }
.lead-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--bulla-radius);
  padding: 40px;
  box-shadow: 0 30px 60px -20px rgba(17, 17, 33, 0.4);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--bulla-ease);
}
.lead-modal-overlay.is-open .lead-modal { transform: translateY(0) scale(1); }
.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #f5f0eb;
  color: var(--bulla-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--bulla-ease), transform 0.25s var(--bulla-ease);
}
.lead-modal-close:hover { background: var(--bulla-orange); color: #fff; transform: rotate(90deg); }
.lead-modal .form-group { margin-bottom: 16px; }
.lead-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bulla-dark);
}
.lead-modal .form-control {
  border-radius: 12px;
  border: 1px solid #e5ded6;
  background: #fbf8f5;
}
.lead-modal textarea.form-control { height: auto; min-height: 90px; padding: 12px 16px; resize: vertical; }
