/* ============================================================
   buying-selling.css
   Page-specific styles for /services/buying-selling
   Depends on: pearl.css + service-page.css
============================================================ */

/* Hero blobs */
.bs-blob--1 {
  background: radial-gradient(circle, rgba(199, 0, 126, 0.25), transparent 70%);
}
.bs-blob--2 {
  background: radial-gradient(circle, rgba(30, 57, 143, 0.28), transparent 70%);
}
.bs-blob--3 {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 45%;
  background: radial-gradient(
    circle,
    rgba(240, 180, 41, 0.14),
    transparent 70%
  );
  animation: blobPulse3 11s ease-in-out infinite;
}
.bs-hero-slant {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.bs-hero-slant svg {
  display: block;
  width: 100%;
}

/* =============================================
   HERO CARD — mini buy/sell tabs
============================================= */
.bs-hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
}
.bs-hc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bs-hc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}
.bs-hc-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: #f0b429;
}
.bs-hc-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}
.bs-hc-tab i {
  font-size: 0.82rem;
}
.bs-hc-panel {
  display: none;
  padding: 24px;
}
.bs-hc-panel.active {
  display: block;
}
.bs-hc-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  margin-bottom: 16px;
}
.bs-hc-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(90deg, #f0b429, #c7007e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bs-hc-stat sup {
  font-size: 1rem;
  color: #f0b429;
  vertical-align: super;
}
.bs-hc-stat p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  margin-top: 4px;
}
.bs-hc-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.bs-hc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.bs-hc-item:hover {
  background: rgba(255, 255, 255, 0.07);
}
.bs-hc-item i {
  color: #22c55e;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.bs-hc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  margin: 0 24px 24px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.bs-hc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(199, 0, 126, 0.35);
}

/* =============================================
   SECTION 1 — BUY/SELL TABS
============================================= */
.bs-tab-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 32px auto;
  background: var(--offwhite);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  border: 1px solid rgba(30, 57, 143, 0.1);
}
.bs-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--gray);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.bs-tab-btn.active {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 6px 20px rgba(199, 0, 126, 0.25);
}
.bs-tab-btn:hover:not(.active) {
  color: var(--blue);
}
.bs-tab-btn i {
  font-size: 0.85rem;
}

/* Tab panels */
.bs-tab-panel {
  display: none;
  padding-top: 32px;
}
.bs-tab-panel.active {
  display: block;
}
.bs-panel-h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  margin-bottom: 36px;
}

/* Legal highlights (buyer panel) */
.bs-legal-highlight {
  margin-top: 40px;
  background: linear-gradient(
    135deg,
    rgba(30, 57, 143, 0.05),
    rgba(199, 0, 126, 0.05)
  );
  border: 1px solid rgba(30, 57, 143, 0.1);
  border-radius: var(--radius);
  padding: 28px;
}
.bs-lh-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.bs-lh-header i {
  font-size: 1.3rem;
  color: var(--blue);
}
.bs-lh-header h4 {
  font-size: 1rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
}
.bs-lh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.bs-lh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(30, 57, 143, 0.1);
  color: var(--dark);
  font-size: 0.77rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s;
}
.bs-lh-chip:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}
.bs-lh-chip i {
  color: #22c55e;
  font-size: 0.7rem;
  transition: color 0.3s;
}
.bs-lh-chip:hover i {
  color: #fff;
}
.bs-nri-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.82rem;
  color: #374151;
}
.bs-nri-note span {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bs-nri-note strong {
  color: var(--blue);
}

/* Valuation card (seller panel) */
.bs-valuation-card {
  margin-top: 40px;
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(30, 57, 143, 0.08);
}
.bs-val-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.bs-val-header i {
  font-size: 1.3rem;
  color: var(--pink);
}
.bs-val-header h4 {
  font-size: 1rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
}
.bs-val-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.bs-val-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(30, 57, 143, 0.06);
  transition: all 0.3s;
}
.bs-val-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.bs-val-item span {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bs-val-item strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 3px;
}
.bs-val-item p {
  font-size: 0.77rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   SECTION 2 — DUE DILIGENCE GRID
============================================= */
.bs-dd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.bs-dd-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 57, 143, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s;
}
.bs-dd-card:hover {
  box-shadow: var(--shadow-pink);
  border-color: rgba(199, 0, 126, 0.12);
}
.bs-dd-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.bs-dd-top:hover {
  background: rgba(30, 57, 143, 0.02);
}
.bs-dd-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.bs-dd-top h4 {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  flex: 1;
}
.bs-dd-level {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.bs-dd-level--critical {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.bs-dd-level--essential {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.bs-dd-level--standard {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.bs-dd-level--when-applicable {
  background: rgba(107, 114, 128, 0.08);
  color: var(--gray);
  border: 1px solid rgba(107, 114, 128, 0.15);
}
.bs-dd-expand {
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: var(--gray);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.bs-dd-expand:hover {
  background: var(--offwhite);
  color: var(--blue);
}
.bs-dd-expand.open {
  background: rgba(199, 0, 126, 0.08);
  color: var(--pink);
}
.bs-dd-expand.open i {
  transform: rotate(180deg);
}
.bs-dd-expand i {
  transition: transform 0.3s;
  font-size: 0.75rem;
}
.bs-dd-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  border-top: 1px solid transparent;
}
.bs-dd-body.open {
  max-height: 200px;
  padding: 16px 20px;
  border-top-color: rgba(30, 57, 143, 0.06);
}
.bs-dd-body p {
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 10px;
}
.bs-dd-protects {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.18);
  padding: 8px 12px;
  border-radius: 8px;
}
.bs-dd-protects i {
  flex-shrink: 0;
  margin-top: 1px;
}
/* Doc counter */
.bs-doc-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  background: var(--gradient-main);
  border-radius: var(--radius);
  padding: 28px;
}
.bs-dc-item {
  text-align: center;
}
.bs-dc-item span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.bs-dc-item sup {
  font-size: 1rem;
  color:#fff;
  vertical-align: super;
}
.bs-dc-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  margin-top: 6px;
}

/* =============================================
   SECTION 3 — ANTI-FRAUD
============================================= */
.bs-fraud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.bs-frauds {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.bs-fraud-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 57, 143, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.bs-fraud-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}
.bs-fraud-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.bs-fraud-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 4px;
}
.bs-fraud-item p {
  font-size: 0.79rem;
  color: var(--gray);
  line-height: 1.55;
}
/* Trust trail card */
.bs-trust-card {
  background: linear-gradient(135deg, #0d1a3a, #1e398f);
  border-radius: var(--radius);
  padding: 32px;
}
.bs-tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 180, 41, 0.15);
  border: 1px solid rgba(240, 180, 41, 0.3);
  color: #f0b429;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.bs-trust-card h4 {
  color: #fff;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.bs-trust-card > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.bs-trail-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bs-trail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.bs-trail-num {
  width: 30px;
  height: 30px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.bs-trail-item strong {
  display: block;
  color: #fff;
  font-size: 0.84rem;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 2px;
}
.bs-trail-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   SECTION 4 — NRI GRID
============================================= */
.bs-nri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bs-nri-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
}
.bs-nri-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.bs-nri-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bs-nri-item h4 {
  color: #fff;
  font-size: 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.bs-nri-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .bs-fraud-grid {
    grid-template-columns: 1fr;
  }
  .bs-nri-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bs-dd-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .bs-val-grid {
    grid-template-columns: 1fr;
  }
  .bs-nri-grid {
    grid-template-columns: 1fr;
  }
  .bs-doc-counter {
    grid-template-columns: 1fr;
  }
  .bs-tab-toggle {
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
  }
  .bs-tab-btn {
    border-radius: 12px;
  }
}
