/* =========================
   DB AI HERO (PRO)
   Prefix: db-
   ========================= */

.db-ai-hero{ position: relative; overflow: hidden; }
.db-ai-hero--pro{
  background: radial-gradient(1200px 600px at 20% 30%, rgba(59,130,246,.18), transparent 55%),
              radial-gradient(900px 500px at 70% 20%, rgba(139,92,246,.18), transparent 55%),
              linear-gradient(135deg, #060a18 0%, #0b1026 45%, #0a1228 100%);
  color: #fff;
}
.db-hero-container{
  padding-top: clamp(26px, 3.6vw, 54px);
  padding-bottom: clamp(18px, 3.0vw, 42px);
}

/* BG */
.db-hero-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.db-bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px),
    linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
}
.db-bg-orbs{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 25% 55%, rgba(16,185,129,.16), transparent 42%),
    radial-gradient(circle at 80% 25%, rgba(59,130,246,.18), transparent 40%),
    radial-gradient(circle at 35% 15%, rgba(245,158,11,.14), transparent 45%);
}
.db-bg-particles{ position:absolute; inset:0; overflow:hidden; }
.db-p{
  position:absolute;
  width: 2px; height: 2px;
  border-radius: 999px;
  background: rgba(96,165,250,.85);
  opacity: .35;
  animation: dbFloat linear infinite;
}
@keyframes dbFloat{
  0%{ transform: translate3d(0,0,0); opacity:0; }
  10%{ opacity:.45; }
  90%{ opacity:.45; }
  100%{ transform: translate3d(120px,-110vh,0); opacity:0; }
}

/* Left */
.db-pill{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.45rem .75rem;
  border-radius: 999px;
  background: rgba(15,23,42,.75);
  border: 1px solid rgba(59,130,246,.35);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.db-pill-dot{
  width:10px; height:10px; border-radius:999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.16);
}
.db-pill-text{ font-size:.78rem; letter-spacing:.6px; font-weight:800; opacity:.95; }
.db-pill-chip{
  font-size:.7rem; font-weight:900;
  padding:.15rem .5rem;
  border-radius:999px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.32);
  color: #a7f3d0;
}

.db-hero-title{
  font-weight: 900;
  line-height: 1.06;
  font-size: clamp(1.75rem, 3.0vw, 2.6rem);
  margin: 0;
}
.db-text-gradient{
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.db-hero-subtitle{
  font-size: 1.02rem;
  color: rgba(255,255,255,.82);
  max-width: 36rem;
}
.db-em{ color:#22c55e; font-weight: 900; }

.db-metrics{ display:flex; flex-wrap:wrap; gap:.75rem; }
.db-metric{
  padding:.75rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.db-metric-val{ font-weight: 900; font-size: 1.15rem; line-height: 1; color:#fff; }
.db-metric:nth-child(1) .db-metric-val{ color:#34d399; }
.db-metric:nth-child(2) .db-metric-val{ color:#fbbf24; }
.db-metric:nth-child(3) .db-metric-val{ color:#60a5fa; }
.db-metric-lbl{ margin-top:.35rem; font-size:.78rem; color: rgba(255,255,255,.70); }

/* Search */
.db-search-card{
  border-radius: 16px;
  background: rgba(15,23,42,.72);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  overflow:hidden;
}
.db-search-head{
  display:flex; gap:.75rem; align-items:flex-start;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(2,6,23,.35);
}
.db-search-ico{
  width:38px; height:38px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(59,130,246,.16);
  border: 1px solid rgba(59,130,246,.28);
  color: #93c5fd;
}
.db-search-title{ font-weight:900; font-size:.95rem; color:#fff; line-height:1.2; }
.db-search-sub{ font-size:.78rem; color: rgba(255,255,255,.70); margin-top:.15rem; }
.db-search-body{ padding: .9rem 1rem .65rem; }
.db-search-hints{ padding: 0 1rem 1rem; display:flex; flex-wrap:wrap; gap:.5rem; }
.db-kbd{
  font-size:.72rem;
  padding:.25rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
}

/* Buttons */
.db-btn{
  border-radius: 12px;
  padding: .65rem 1rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.db-btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,.28); }
.db-btn--success{ background: linear-gradient(135deg, #22c55e, #16a34a); color:#0b1220; }
.db-btn--primary{ background: linear-gradient(135deg, #3b82f6, #2563eb); color:#fff; }
.db-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.db-btn--ghost:hover{ background: rgba(255,255,255,.10); }

/* 4 badges -> mobile 2 per row */
.db-badges-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:.55rem;
}
.db-badge{
  display:flex; align-items:center; gap:.45rem;
  padding:.45rem .6rem;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.82);
  font-size:.82rem;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.db-badge i{ font-size: 1rem; }

/* =========================
   RIGHT SIDE (compact + pro)
   ========================= */
.db-right-shell{
  border-radius: 18px;
  background: rgba(15,23,42,.86);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 55px rgba(0,0,0,.40);
  overflow:hidden;
  backdrop-filter: blur(18px);
}

/* Tabs - single row scroll on mobile to reduce height */
.db-tabs-wrap{
  padding: .75rem .75rem .6rem;
  background: rgba(2,6,23,.45);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.db-tabs-scroll{
  display:flex;
  gap:.6rem;
  overflow-x:auto;
  scrollbar-width: none;
}
.db-tabs-scroll::-webkit-scrollbar{ display:none; }

.db-tab-card{
  flex: 0 0 auto;
  min-width: 190px;
  display:flex; align-items:center; gap:.6rem;
  padding: .75rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  outline: none !important;
}
.db-tab-card:hover{ transform: translateY(-1px); background: rgba(255,255,255,.07); }
.db-tab-card.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}

.db-tc-ico{
  width:36px; height:36px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  border: 1px solid rgba(255,255,255,.12);
}
.db-tc-ico--blue{ background: rgba(59,130,246,.18); color:#93c5fd; }
.db-tc-ico--amber{ background: rgba(245,158,11,.18); color:#fbbf24; }
.db-tc-ico--violet{ background: rgba(139,92,246,.18); color:#c4b5fd; }

.db-tc-title{ display:block; font-weight: 900; font-size:.9rem; color:#fff; line-height:1.1; }
.db-tc-sub{ display:block; font-size:.75rem; color: rgba(255,255,255,.70); margin-top:.15rem; }

.db-panel{
  padding: 1rem;
  /* less height overall, no forced huge height */
}
.db-panel-page{ display:none; }
.db-panel-page.active{ display:block; animation: dbFade .18s ease; }
@keyframes dbFade{ from{opacity:0; transform: translateY(4px);} to{opacity:1; transform:none;} }

/* Demo video full box thumb */
.db-video-card{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.db-video-media{ position: relative; width:100%; aspect-ratio: 16 / 9; background:#0b1020; }
.db-video-img{ width:100%; height:100%; object-fit: cover; display:block; }
.db-video-overlay{
  position:absolute; inset:0;
  background: radial-gradient(600px 280px at 50% 60%, rgba(16,185,129,.16), transparent 55%),
              linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.60));
}
.db-video-badge{
  position:absolute; left: 14px; top: 14px;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(2,6,23,.65);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: .75rem;
  font-weight: 900;
}
.db-play{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(16,185,129,.92);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.7rem;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.db-play:hover{
  transform: translate(-50%,-50%) scale(1.06);
  background:#10b981;
  box-shadow: 0 18px 40px rgba(16,185,129,.32);
}
.db-video-meta{ padding: .9rem 1rem 1rem; }
.db-video-title{ font-weight: 900; color:#fff; font-size: 1rem; }
.db-video-sub{ margin-top:.25rem; color: rgba(255,255,255,.75); font-size: .84rem; }

/* Module (professional stack) */
.db-module.pro-stack{ display:flex; flex-direction:column; gap:.9rem; }
.db-module-head{ display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.db-module-left{ display:flex; align-items:center; gap:.75rem; }

.db-module-ico{
  width:44px; height:44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 1.2rem;
  flex: 0 0 auto;
}
.db-ico--amber{ background: linear-gradient(135deg,#f59e0b,#d97706); }
.db-ico--violet{ background: linear-gradient(135deg,#8b5cf6,#7c3aed); }
.db-ico--blue{ background: linear-gradient(135deg,#3b82f6,#2563eb); }
.db-ico--green{ background: linear-gradient(135deg,#22c55e,#16a34a); }
.db-ico--red{ background: linear-gradient(135deg,#ef4444,#dc2626); }

.db-module-title{ font-weight: 900; color:#fff; font-size: 1.15rem; line-height:1.1; }
.db-module-sub{ color: rgba(255,255,255,.72); font-size: .84rem; margin-top:.1rem; }

.db-pill-mini{
  padding:.28rem .65rem;
  border-radius: 999px;
  font-size:.72rem;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.db-pill-mini--green{ border-color: rgba(34,197,94,.28); background: rgba(34,197,94,.10); }
.db-pill-mini--violet{ border-color: rgba(139,92,246,.28); background: rgba(139,92,246,.10); }

.db-callout{
  display:flex; gap:.75rem; align-items:flex-start;
  padding: .85rem .9rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.db-callout i{ font-size: 1.25rem; margin-top: .12rem; }
.db-callout-title{ font-weight: 900; color:#fff; }
.db-callout-sub{ font-size:.82rem; color: rgba(255,255,255,.72); margin-top:.1rem; }
.db-callout--amber{ border-color: rgba(245,158,11,.22); background: rgba(245,158,11,.06); }
.db-callout--violet{ border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.06); }

/* Right-side compact badges (4 -> mobile 2 per row) */
.db-mini-badges{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:.5rem;
}
.db-mini-badge{
  display:flex; align-items:center; justify-content:center; gap:.45rem;
  padding:.45rem .55rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.db-mini-badge i{ opacity:.9; }

/* Platforms (2x2 always for compact height) */
.db-grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem;
}
.db-tile{
  border-radius: 16px;
  padding: .85rem .75rem;
  text-align:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.db-tile:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.25); background: rgba(255,255,255,.05); }
.db-tile i{ font-size:1.35rem; display:block; margin-bottom:.35rem; }
.db-tile span{ display:block; font-weight: 900; color:#fff; font-size:.9rem; }
.db-tile small{ display:block; margin-top:.2rem; font-size:.72rem; color: rgba(255,255,255,.68); }

.db-tile--wa{ border-color: rgba(37,211,102,.18); background: rgba(37,211,102,.08); }
.db-tile--fb{ border-color: rgba(24,119,242,.18); background: rgba(24,119,242,.08); }
.db-tile--ig{ border-color: rgba(225,48,108,.18); background: rgba(225,48,108,.08); }
.db-tile--tg{ border-color: rgba(0,136,204,.18); background: rgba(0,136,204,.08); }

.db-list{ display:grid; gap:.5rem; }
.db-li{ display:flex; gap:.6rem; align-items:center; color: rgba(255,255,255,.82); font-size:.88rem; }
.db-li i{ color:#22c55e; }

.db-cta{
  border-radius: 14px;
  padding: .75rem 1rem;
  font-weight: 900;
  border: 0;
}
.db-cta--amber{ background: linear-gradient(135deg,#f59e0b,#d97706); color:#0b1220; }
.db-cta--violet{ background: linear-gradient(135deg,#8b5cf6,#7c3aed); color:#fff; }
.db-note{ text-align:center; color: rgba(255,255,255,.72); font-size:.82rem; }

/* CRM stats & feats */
.db-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:.65rem;
}
.db-stat{
  border-radius: 16px;
  padding: .75rem .65rem;
  text-align:center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.db-stat-val{ font-weight: 900; color:#fff; font-size:1.12rem; line-height:1; }
.db-stat-lbl{ margin-top:.35rem; font-size:.72rem; color: rgba(255,255,255,.66); }

.db-feats{ display:grid; gap:.65rem; }
.db-feat{
  display:flex; align-items:center; gap:.75rem;
  padding: .7rem .75rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.db-feat-ico{
  width:40px; height:40px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 1.15rem;
  flex: 0 0 auto;
}
.db-feat-title{ display:block; color:#fff; font-weight: 900; font-size:.9rem; line-height:1.1; }
.db-feat-sub{ display:block; color: rgba(255,255,255,.70); font-size:.76rem; margin-top:.15rem; }

/* =========================
   RESPONSIVE RULES
   Key ask: mobile height smaller + 4 badges -> 2 per row
   ========================= */
@media (max-width: 991.98px){
  /* tabs become truly compact on mobile */
  .db-tab-card{ min-width: 175px; padding: .65rem .75rem; }
  .db-panel{ padding: .9rem; }
}
@media (max-width: 767.98px){
  .db-metric{ width: 100%; }

  /* Left badges: 2 per row on mobile */
  .db-badges-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* Right mini badges: 2 per row on mobile */
  .db-mini-badges{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* CRM stats stack for less overflow */
  .db-stats{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 575.98px){
  /* reduce vertical padding more */
  .db-hero-container{ padding-top: 22px; padding-bottom: 28px; }

  /* tabs single row, even tighter */
  .db-tabs-wrap{ padding: .6rem .6rem .5rem; }
  .db-tab-card{ min-width: 160px; padding: .6rem .7rem; border-radius: 14px; }
  .db-tc-title{ font-size: .86rem; }
  .db-tc-sub{ font-size: .72rem; }

  /* keep platforms 2 columns (compact height) */
  .db-grid-2{ gap: .65rem; }
  .db-tile{ padding: .75rem .6rem; border-radius: 14px; }

  /* CRM stats 2 per row if needed */
  .db-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* =========================
   Enterprise
   ========================= */
.db-enterprise{
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.db-enterprise-card{
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.db-enterprise-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,.10);
  border-color: rgba(59,130,246,.20);
}
.db-enterprise-icon{
  width: 58px; height: 58px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  color:#fff;
  margin-bottom: 1rem;
}
.db-enterprise-title{ font-weight: 900; color:#111827; margin-bottom:.4rem; }
.db-enterprise-desc{ color:#6b7280; font-size:.92rem; margin-bottom: 1rem; }
.db-enterprise-features{ list-style:none; padding:0; margin:0; }
.db-enterprise-features li{
  color:#4b5563;
  font-size:.86rem;
  padding:.25rem 0;
  position: relative;
  padding-left: 1.15rem;
}
.db-enterprise-features li:before{
  content:"✓";
  position:absolute; left:0;
  color:#10b981;
  font-weight: 900;
}





/* 4 in one row (desktop), 2 per row (mobile) */
.db-platforms-4{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .75rem;
}

/* Mobile: 2 per row */
@media (max-width: 767.98px){
  .db-platforms-4{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .65rem;
  }
}

.db-tile{
  border-radius: 16px;
  padding: .85rem .75rem;
  text-align:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.db-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  background: rgba(255,255,255,.05);
}

.db-tile i{
  font-size: 1.55rem;
  display:block;
  margin-bottom:.45rem;
  line-height: 1;
}

.db-tile span{
  display:block;
  font-weight: 900;
  color:#fff;
  font-size:.9rem;
}

.db-tile small{
  display:block;
  margin-top:.2rem;
  font-size:.72rem;
  color: rgba(255,255,255,.68);
}

/* Brand colors for icons + subtle tile tints */
.db-tile--wa{
  border-color: rgba(37,211,102,.22);
  background: rgba(37,211,102,.08);
}
.db-tile--wa i{ color:#25D366; }

.db-tile--fb{
  border-color: rgba(24,119,242,.22);
  background: rgba(24,119,242,.08);
}
.db-tile--fb i{ color:#1877F2; }

.db-tile--ig{
  border-color: rgba(225,48,108,.22);
  background: rgba(225,48,108,.08);
}
.db-tile--ig i{ color:#E1306C; }

.db-tile--tg{
  border-color: rgba(0,136,204,.22);
  background: rgba(0,136,204,.08);
}
.db-tile--tg i{ color:#0088CC; }

/* Same row + same height */
.db-cta-row{
  display:flex;
  align-items:stretch;
  gap:.75rem;
}

.db-cta-row .db-cta,
.db-free-badge{
  height: 44px;
  border-radius: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
}

/* GREEN button (same combo as free badge) */
.db-cta--green{
  flex: 1 1 auto;
  width:auto !important;
  padding: 0 .95rem;
  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.35);
  color: #d1fae5;
  font-weight: 900;
}
.db-cta--green i{ color:#34d399; }

.db-cta--green:hover{
  background: rgba(34,197,94,.26);
  border-color: rgba(34,197,94,.55);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  color: #ecfdf5;
}

/* Green badge */
.db-free-badge{
  flex: 0 0 auto;
  padding: 0 .9rem;
  gap:.4rem;
  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.35);
  color: #d1fae5;
  font-weight: 900;
  font-size: .8rem;
  white-space: nowrap;
}
.db-free-badge i{ color:#34d399; }

/* Mobile: stack */
@media (max-width: 575.98px){
  .db-cta-row{ flex-direction:column; }
  .db-cta--green{ width:100% !important; }
  .db-free-badge{ width:100%; }
}

/* Features: always 2 columns (desktop + mobile) */
.db-feats--grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .65rem;
}

/* keep same style but slightly tighter + professional */
.db-feat{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding: .75rem .8rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.db-feat:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.db-feat-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  flex: 0 0 auto;
}
.db-feat-ico i{ font-size: 1.15rem; }

.db-feat-title{
  display:block;
  color:#fff;
  font-weight: 900;
  font-size: .92rem;
  line-height: 1.1;
}
.db-feat-sub{
  display:block;
  color: rgba(255,255,255,.70);
  font-size: .76rem;
  margin-top: .15rem;
}

/* Small screens: keep 2 per row, just reduce padding */
@media (max-width: 575.98px){
  .db-feat{ padding: .65rem .7rem; border-radius: 14px; }
  .db-feat-ico{ width: 38px; height: 38px; border-radius: 12px; }
  .db-feat-title{ font-size: .88rem; }
  .db-feat-sub{ font-size: .74rem; }
}

/* ============== PRO CALLOUT (PRELOADED DATA) ============== */
.db-callout-pro{
  display:flex;
  align-items:flex-start;
  gap:.9rem;
  padding:.95rem 1rem;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.db-callout-pro--violet{
  border-color: rgba(139,92,246,.25);
  background: linear-gradient(135deg, rgba(139,92,246,.10), rgba(255,255,255,.02));
}

.db-callout-pro__left{
  display:flex;
  align-items:flex-start;
  gap:.85rem;
  min-width:0;
  width:100%;
}

.db-callout-pro__icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(139,92,246,.18);
  border:1px solid rgba(139,92,246,.30);
  color:#c4b5fd;
  flex:0 0 auto;
}
.db-callout-pro__icon i{ font-size:1.15rem; }

.db-callout-pro__text{ min-width:0; width:100%; }

/* Head row: title+badge left, stat right (NO line-break in mobile) */
.db-callout-pro__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.8rem;
}

.db-callout-pro__titleWrap{ min-width:0; }

.db-callout-pro__title{
  font-weight:900;
  color:#fff;
  font-size: .98rem;
  line-height: 1.15;
}

.db-callout-pro__badgeLine{ margin-top:.35rem; }

.db-callout-pro__badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.28rem .6rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.3px;
  color:#e9d5ff;
  background: rgba(139,92,246,.16);
  border:1px solid rgba(139,92,246,.32);
  white-space:nowrap;
}

/* Stat right corner */
.db-callout-pro__statCorner{
  flex:0 0 auto;
  text-align:right;
  padding:.45rem .6rem;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
}
.db-callout-pro__statVal{
  font-weight:900;
  color:#fff;
  font-size:1.05rem;
  line-height:1;
}
.db-callout-pro__statLbl{
  margin-top:.25rem;
  font-size:.72rem;
  color: rgba(255,255,255,.65);
}

/* Sub */
.db-callout-pro__sub{
  margin-top:.55rem;
  color: rgba(255,255,255,.74);
  font-size:.82rem;
}

/* Chips */
.db-callout-pro__chips{
  margin-top:.6rem;
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.db-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.28rem .55rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
}

/* Mobile tuning: keep same "title+badge" left and stat right */
@media (max-width: 575.98px){
  .db-callout-pro{ padding:.85rem .85rem; }
  .db-callout-pro__icon{ width:40px; height:40px; border-radius:12px; }
  .db-callout-pro__statCorner{ padding:.4rem .55rem; border-radius:12px; }
  .db-callout-pro__badgeLine{ margin-top:.30rem; }
}


/* Desktop: same row, same height. Mobile: stack */
.db-cta-row{
  display:flex;
  align-items:stretch;
  gap:.75rem;
}

/* Button: green effect + white text (same as previous style) */
.db-cta-row .db-cta--green{
  flex: 1 1 auto;
  width:auto !important;      /* override w-100 */
  height: 44px;
  padding: 0 .95rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  line-height: 1;
  font-weight: 900;

  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.35);
  color: #ffffff;
}

.db-cta-row .db-cta--green i{
  color:#ffffff;              /* keep icon white */
  opacity:.95;
}

.db-cta-row .db-cta--green:hover{
  background: rgba(34,197,94,.26);
  border-color: rgba(34,197,94,.55);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  color:#ffffff;
}

/* Right badge: same green effect + white text */
.db-cta-row .db-free-badge{
  flex: 0 0 auto;
  height: 44px;
  padding: 0 .9rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  border-radius: 14px;
  line-height: 1;
  font-weight: 900;
  font-size: .82rem;
  white-space: nowrap;

  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.35);
  color: #ffffff;
}

.db-cta-row .db-free-badge i{
  color:#ffffff;
  opacity:.95;
}

/* Mobile: stack */
@media (max-width: 575.98px){
  .db-cta-row{
    flex-direction: column;
    align-items: stretch;
  }
  .db-cta-row .db-cta--green,
  .db-cta-row .db-free-badge{
    width: 100%;
  }
}

/* Always 3 in one row (desktop + mobile) */
.db-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

/* If your old CSS changes it on mobile, force override */
@media (max-width: 575.98px){
  .db-stats{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .5rem;
  }

  .db-stat{
    padding: .6rem .5rem;
    border-radius: 14px;
  }
  .db-stat-val{
    font-size: 1rem;
  }
  .db-stat-lbl{
    font-size: .68rem;
  }
}


/* Flow button animation */
.db-cta--flow{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* animated shine layer */
.db-cta--flow::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.10) 18%,
    rgba(255,255,255,.22) 28%,
    rgba(255,255,255,.10) 38%,
    transparent 55%
  );
  transform: translateX(-120%);
  animation: dbFlowRight 2.4s linear infinite;
  z-index: 0;
}

/* subtle moving gradient underlay */
.db-cta--flow::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    rgba(34,197,94,.12),
    rgba(34,197,94,.26),
    rgba(34,197,94,.12)
  );
  background-size: 220% 100%;
  animation: dbFlowBg 3.2s ease-in-out infinite;
  z-index: -1;
}

/* keep text/icons above animation */
.db-cta--flow > *{
  position: relative;
  z-index: 1;
}

/* arrow micro motion */
.db-flow-arrow{
  display:inline-flex;
  align-items:center;
  margin-left:.25rem;
  font-size: 1.15rem;
  transform: translateX(0);
  transition: transform .2s ease;
}
.db-cta--flow:hover .db-flow-arrow{
  transform: translateX(4px);
}

/* animations */
@keyframes dbFlowRight{
  0%   { transform: translateX(-140%); opacity: .0; }
  10%  { opacity: .9; }
  100% { transform: translateX(140%); opacity: .0; }
}

@keyframes dbFlowBg{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Metrics grid */
.db-metrics{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr)); /* desktop: 4 in one row */
  gap: .75rem;
}

.db-metric{
  padding:.75rem .9rem;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.db-metric-val{
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
  color:#fff;
}

.db-metric-lbl{
  margin-top:.35rem;
  font-size:.78rem;
  color: rgba(255,255,255,.70);
}

/* Optional: per-card accent (first 4) */
.db-metric:nth-child(1) .db-metric-val{ color:#34d399; } /* green */
.db-metric:nth-child(2) .db-metric-val{ color:#fbbf24; } /* amber */
.db-metric:nth-child(3) .db-metric-val{ color:#60a5fa; } /* blue */
.db-metric:nth-child(4) .db-metric-val{ color:#a78bfa; } /* violet */

/* Mobile: 2 per row */
@media (max-width: 767.98px){
  .db-metrics{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .6rem;
  }
  .db-metric{
    padding:.65rem .75rem;
  }
  .db-metric-val{ font-size: 1.05rem; }
  .db-metric-lbl{ font-size: .74rem; }
}

/* Desktop default */
.db-hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}

/* Mobile: force 1 row (3 columns) */
@media (max-width: 575.98px){
  .db-hero-ctas{
    flex-wrap: nowrap;
    gap:.45rem;
  }
  .db-hero-ctas .db-btn{
    flex: 1 1 0;
    min-width: 0;
    padding: .6rem .5rem;
    border-radius: 12px;
    font-size: .78rem;
    justify-content: center;
    white-space: nowrap;
  }
  /* remove big icon spacing on mobile */
  .db-hero-ctas .db-btn i{
    margin-right: .35rem !important;
  }
}

.db-search-hints{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
}

/* Base chip */
.db-kbd{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.28rem .6rem;
  border-radius:10px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
}

/* Color variants */
.db-kbd--blue{
  background: rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.35);
  color:#dbeafe;
}
.db-kbd--green{
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.35);
  color:#dcfce7;
}
.db-kbd--amber{
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.35);
  color:#fffbeb;
}
.db-kbd--violet{
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.35);
  color:#ede9fe;
}

/* Subtle hover */
.db-kbd:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* =========================
   DESKTOP TOP SPACE + REMOVE BOTTOM BLANK
   ========================= */

/* More top space on desktop */
@media (min-width: 992px){
  .db-hero-container{
    padding-top: 80px !important;
    padding-bottom: 15px !important; /* reduce bottom space */
  }
}

/* Reduce bottom padding on all sizes a bit (optional) */
.db-hero-container{
  padding-bottom: 20px !important;
}

/* Kill extra bottom margins inside hero columns (common cause of blank space) */
.db-hero-left > :last-child,
.db-hero-right > :last-child{
  margin-bottom: 0 !important;
}

/* Also: remove bottom margin from common last blocks if mb-* still applied */
.db-hero-left .db-badges-grid{ margin-bottom: 0 !important; }
.db-hero-right .db-right-shell{ margin-bottom: 0 !important; }
.db-hero-right .db-panel{ padding-bottom: .75rem !important; }

/* If header (.header) from theme adds padding-bottom, neutralize it */
header.db-ai-hero{ padding-bottom: 0 !important; }

/* Desktop: tabs should fit, no cut */
@media (min-width: 992px){
  .db-tabs-scroll{
    overflow: hidden;              /* no horizontal scroll on desktop */
  }
  .db-tab-card{
    flex: 1 1 0;                   /* equal width for all 3 */
    min-width: 0 !important;       /* allow shrinking */
  }

  /* allow text to wrap instead of cutting */
  .db-tc-txt{ min-width: 0; }
  .db-tc-title{
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;         /* max 2 lines */
    -webkit-box-orient: vertical;
  }
  .db-tc-sub{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Prevent tab switch jump: keep panel height stable */
@media (min-width: 992px){
  .db-panel{
    min-height: 520px; /* adjust 500-560 if you want */
  }
}

@media (max-width: 991.98px){
  .db-panel{
    min-height: 480px;
  }
}

@media (max-width: 575.98px){
  .db-panel{
    min-height: 440px; /* mobile smaller */
  }
}

@media (min-width: 992px){
  .db-video-media{ aspect-ratio: 16 / 8.5; } /* slightly taller than 16/9 */
}

/* Taller thumb to increase height */
.db-video-media--tall{
  aspect-ratio: 16 / 8.2;   /* taller than 16/9 */
}

/* Make thumb show full nicely */
.db-video-img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* full cover */
  object-position: center;  /* keep center */
}

/* Hook line under title */
.db-video-hook{
  margin-top: .4rem;
  padding: .45rem .65rem;
  border-radius: 12px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.2;
}
.db-video-hook i{ color:#34d399; }

/* Mobile: reduce height slightly */
@media (max-width: 575.98px){
  .db-video-media--tall{ aspect-ratio: 16 / 9; }
  .db-video-hook{ font-size:.78rem; }
}

/* Let dropdowns escape the search card */
.db-search-card{
  overflow: visible !important;
}
.db-search-body{
  overflow: visible !important;
}


/* Generic fix for suggestion dropdown */
.autocomplete-suggestions,
.autocomplete-results,
.search-suggestions,
.dropdown-menu,
.typeahead.dropdown-menu{
  max-height: 320px !important;   /* taller box */
  overflow-y: auto !important;    /* scroll instead of clipping */
  z-index: 99999 !important;      /* above hero */
}


/* Prevent hero from clipping dropdowns */
.db-ai-hero,
.db-right-shell,
.db-hero-container{
  overflow: visible !important;
}
.autocomplete-suggestions,
.typeahead.dropdown-menu,
.search-suggestions{
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  background: #0b1026; /* or your dark card bg */
}

.db-video-platform-hook{
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  border-radius: 14px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.22);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: .84rem;
  line-height: 1.25;
}
.db-video-platform-hook i{
  color:#60a5fa;
}

/* Typing effect styles */
.db-typing-wrap{
  margin-top: .4rem;
  font-weight: 900;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,.9);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}

.db-typing-prefix{
  color: rgba(255,255,255,.65);
  font-weight: 800;
}

.db-typing-text{
  color: #34d399; /* green accent */
  text-shadow: 0 0 12px rgba(52,211,153,.25);
}

/* Blinking caret */
.db-typing-caret{
  margin-left: 2px;
  animation: dbBlink 1s steps(1) infinite;
  color: #34d399;
}

@keyframes dbBlink{
  50%{ opacity: 0; }
}

/* Mobile tuning */
@media (max-width: 575.98px){
  .db-typing-wrap{
    font-size: .88rem;
  }
}

/* =========================
   Rotating Hook (Clean)
   ========================= */

.db-video-rotate-hook{
  margin-top: .6rem;
  padding: .7rem .9rem;
  border-radius: 14px;

  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.18);

  color: rgba(255,255,255,0.92);
  font-weight: 550;
  font-size: .95rem;
  line-height: 1.55;

  display: flex;
  align-items: flex-start;
  gap: .55rem;

  backdrop-filter: blur(6px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* keep height stable */
  min-height: 4.8em; /* ~3 lines */
}

/* Icon (optional if you use <i> in hook) */
.db-video-rotate-hook i{
  color:#22c55e;
  margin-top:.18rem;
  flex:0 0 auto;
}

/* Text clamp to prevent jump */
#dbRotateText{
  display: block;
  overflow: visible;
  /* remove these if present anywhere */
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}


/* Fade animation */
.db-rotate-fade{
  animation: dbRotateFade .35s ease;
}

@keyframes dbRotateFade{
  from{ opacity:.35; transform: translateY(2px); }
  to{ opacity:1; transform: translateY(0); }
}

/* Mobile: edge-to-edge + 4 lines */
@media (max-width: 576px){
  .db-video-rotate-hook{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding: .85rem 1rem;

    min-height: 6.2em; /* ~4 lines */
  }

  #dbRotateText{
    -webkit-line-clamp: 4;
  }
}




.db-search-hints{ visibility:hidden; display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.db-search-hints.is-ready{ visibility:visible; }

.db-search-label{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-weight:700;
  font-size:.9rem;
  color: rgba(255,255,255,.85);
  margin-right:.25rem;
  white-space:nowrap;
}
.db-search-label i{ color:#fbbf24; } /* amber icon */
.db-finger{ display:inline-block; transform: translateY(1px); }


/* ===== Enterprise Mobile Swiper (no library) ===== */
.db-swiper-dots{
  display:none;
  margin-top: 14px;
  justify-content:center;
  gap:8px;
}
.db-swiper-dots .dot{
  width:7px; height:7px;
  border-radius:999px;
  background: rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease;
}
.db-swiper-dots .dot.active{
  background: rgba(34,197,94,.9);
  transform: scale(1.25);
}

/* Mobile: convert row to horizontal snap track */
@media (max-width: 767.98px){
  #dbEnterpriseTrack{
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;

    /* edge-to-edge feel */
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;

    gap: 12px; /* spacing between slides */
  }

  /* hide scrollbar */
  #dbEnterpriseTrack::-webkit-scrollbar{ display:none; }
  #dbEnterpriseTrack{ scrollbar-width: none; }

  /* each col becomes a swipe slide */
  #dbEnterpriseTrack > [class*="col-"]{
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
  }

  .db-swiper-dots{ display:flex; }
}

/* Small phones: slightly wider slides */
@media (max-width: 420px){
  #dbEnterpriseTrack > [class*="col-"]{
    flex-basis: 92%;
    max-width: 92%;
  }
}

.wave-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid #4da6ff;
    color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
}

/* Glow effect */
.wave-btn:hover {
    box-shadow: 0 0 12px rgba(77, 166, 255, 0.7),
                0 0 25px rgba(77, 166, 255, 0.4);
}

/* Moving light wave */
.wave-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-25deg);
}

/* Animation */
.wave-btn:hover::before {
    animation: waveMove 1s ease-in-out;
}

.wave-btn::before {
    animation: waveMove 2.5s infinite;
}

@keyframes waveMove {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}
