/* SEO BD Tools — Pricing Page */
:root {
  --p-green: #5cbb3a;
  --p-green-dark: #4aa32e;
  --p-green-soft: #eaf7d8;
  --p-green-mid: #c8e86a;
  --p-black: #111;
  --p-text: #1a1a1a;
  --p-muted: #6b7280;
  --p-muted-light: #9ca3af;
  --p-border: #e5e7eb;
  --p-bg: #f7f7f8;
  --p-card-head: #f3f4f6;
  --p-white: #fff;
  --p-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --p-radius: 20px;
  --p-radius-sm: 12px;
  --font: Inter, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pricing-body {
  margin: 0;
  font-family: var(--font);
  background: var(--p-bg);
  color: var(--p-text);
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Top nav (simple, matches site brand) ---- */
.pricing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-border);
}

.pricing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pricing-nav-logo {
  display: flex;
  align-items: center;
}

.pricing-nav-logo img {
  height: 40px;
  width: auto;
}

.pricing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pricing-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}

.pricing-nav-links a:hover,
.pricing-nav-links a.active {
  color: var(--p-green);
}

.pricing-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--p-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
}

.pricing-nav-cta:hover {
  background: var(--p-green-dark);
  transform: scale(0.98);
}

.pricing-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--p-border);
  border-radius: 10px;
}

.pricing-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  position: relative;
}

.pricing-nav-toggle span::before,
.pricing-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #111;
}

.pricing-nav-toggle span::before {
  top: -6px;
}

.pricing-nav-toggle span::after {
  top: 6px;
}

/* ---- Page layout: RIGHT SIDE ONLY (no left sidebar) ---- */
.pricing-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 0px 80px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--p-black);
  line-height: 1.25;
}

.pricing-header p {
  margin: 0;
  font-size: 1rem;
  color: var(--p-muted);
}

/* ---- Tabs ---- */
.plan-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.plan-tabs-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--p-white);
  border: 1px solid var(--p-border);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.plan-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.plan-tab:hover {
  color: var(--p-black);
}

.plan-tab.active {
  background: #f0f1f3;
  color: var(--p-black);
  font-weight: 600;
}

.plan-tab .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.plan-tab .dot.purple {
  background: #8b5cf6;
}

.plan-tab .dot.orange {
  background: #f97316;
}

.plan-tab .dot.green {
  background: var(--p-green);
}

/* ---- Cards grid ---- */
.plans-panel {
  display: none;
}

.plans-panel.active {
  display: block;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  background: var(--p-white);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.plan-card:hover {
  box-shadow: var(--p-shadow);
  transform: translateY(-2px);
}

.plan-card-top {
  background: var(--p-card-head);
  padding: 22px 20px 18px;
}

.plan-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.plan-card-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--p-black);
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: var(--p-white);
  border: 1px solid var(--p-border);
  border-radius: 999px;
}

.plan-price-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  min-height: 20px;
}

.plan-old-price {
  font-size: 13px;
  color: var(--p-muted-light);
  text-decoration: line-through;
}

.plan-discount {
  font-size: 12px;
  color: var(--p-muted);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--p-black);
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--p-muted);
  font-weight: 500;
}

.plan-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btn-get-started {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: var(--p-black);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 18px;
  transition: background 0.2s, transform 0.2s;
}

.btn-get-started:hover {
  background: #222;
  transform: scale(0.985);
}

.feature-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}

.feature-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #c4c4c4;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-icons {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  margin-left: 4px;
}

.feature-icons img,
.feature-icons .tool-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.tool-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}

.feature-info {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #d1d5db;
  margin-top: 2px;
}

.plan-card-foot {
  margin-top: auto;
  padding-top: 8px;
}

.plan-device-note {
  font-size: 12px;
  color: var(--p-muted-light);
  margin: 0 0 12px;
  text-align: center;
}

.btn-more-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  background: var(--p-green-soft);
  color: var(--p-green-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
  gap: 8px;
}

.btn-more-tools:hover {
  background: #dff0c8;
  transform: scale(0.985);
}

.btn-more-tools .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-more-tools svg {
  flex-shrink: 0;
}

/* ---- Tools Modal ---- */
.tools-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 15, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.tools-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.tools-modal {
  background: var(--p-white);
  border-radius: 20px;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s;
  overflow: hidden;
}

.tools-modal-overlay.open .tools-modal {
  transform: translateY(0) scale(1);
}

.tools-modal-header {
  padding: 24px 28px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.tools-modal-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--p-muted-light);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.tools-modal-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--p-black);
}

.tools-modal-sub {
  margin: 0;
  font-size: 14px;
  color: var(--p-muted);
}

.tools-modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  color: #374151;
  flex-shrink: 0;
  transition: background 0.2s;
}

.tools-modal-close:hover {
  background: #f3f4f6;
}

.tools-modal-controls {
  padding: 0 28px 12px;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.tools-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  background: #fff;
}

.tools-search:focus-within {
  border-color: var(--p-green);
  box-shadow: 0 0 0 3px rgba(92, 187, 58, 0.15);
}

.tools-search svg {
  color: var(--p-muted-light);
  flex-shrink: 0;
}

.tools-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--p-text);
}

.tools-search input::placeholder {
  color: var(--p-muted-light);
}

.tools-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  white-space: nowrap;
  transition: background 0.2s;
}

.tools-sort:hover {
  background: #f9fafb;
}

.tools-categories {
  padding: 4px 28px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}

.tools-categories::-webkit-scrollbar {
  height: 4px;
}

.tools-categories::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--p-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cat-pill:hover {
  border-color: #c4c4c4;
}

.cat-pill.active {
  background: var(--p-black);
  border-color: var(--p-black);
  color: #fff;
}

.tools-grid-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 4px 28px 16px;
  min-height: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--p-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tool-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tool-item.hidden {
  display: none;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-meta {
  flex: 1;
  min-width: 0;
}

.tool-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--p-black);
  margin: 0;
}

.badge-unlimited {
  display: inline-flex;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--p-green);
  border-radius: 999px;
}

.tool-cat {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--p-muted);
}

.tool-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tool-action-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.tool-action-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.tools-modal-footer {
  padding: 14px 28px 20px;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.tools-modal-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--p-muted);
}

.tools-modal-footer .fup {
  margin-top: 4px;
  font-size: 11px;
  color: var(--p-muted-light);
}

.tools-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--p-muted);
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--p-border);
    gap: 4px;
  }

  .pricing-nav-links.open {
    display: flex;
  }

  .pricing-nav-links a {
    padding: 10px 0;
  }

  .pricing-nav-toggle {
    display: flex;
  }

  .pricing-nav-inner .pricing-nav-cta {
    display: none;
  }

  .pricing-page {
    padding: 32px 16px 64px;
  }

  .plan-tabs-inner {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .tools-modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .tools-modal {
    max-height: 92vh;
    border-radius: 20px 20px 12px 12px;
  }

  .tools-modal-header,
  .tools-modal-controls,
  .tools-categories,
  .tools-grid-wrap,
  .tools-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tools-modal-controls {
    flex-direction: column;
  }

  .tools-sort {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pricing-header h1 {
    font-size: 1.4rem;
  }
}

.info-popup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  color: #9ca3af;
  flex-shrink: 0;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-left: auto;
}

.info-popup:hover {
  color: #8b5cf6;
  background-color: #f5f3ff;
  transform: scale(1.15);
}

/* ==========================================================================
   Pricing Feature Info Modal (Images 1 & 2)
   ========================================================================== */
.feature-info-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-info-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.feature-info-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 28px 32px;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-info-modal-overlay.open .feature-info-modal {
  transform: scale(1) translateY(0);
}

.feature-info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-info-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.feature-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ecfeff;
  color: #06b6d4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info-icon svg {
  width: 18px;
  height: 18px;
}

.feature-info-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.35;
}

.feature-info-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #d8b4fe;
  background: transparent;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
}

.feature-info-modal-close:hover {
  background: #f5f3ff;
  border-color: #a855f7;
  color: #7c3aed;
  transform: scale(1.05);
}

.feature-info-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 18px;
  white-space: pre-line;
}

.feature-info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.feature-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-info-badge:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.feature-info-badge-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
}

.feature-info-note {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #6b7280;
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
  margin: 14px 0 0;
}

/* ==========================================================================
   Tool Info Popover inside Tools Modal (Image 3)
   ========================================================================== */
.tool-info-popover {
  position: absolute;
  z-index: 1050;
  width: 290px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 18px 20px;
  pointer-events: auto;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tool-info-popover-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tool-info-popover-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 14px;
  word-break: break-word;
}

.tool-info-popover-text:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Tool YouTube Video Preview Modal (Image 4)
   ========================================================================== */
.tool-video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tool-video-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.tool-video-modal {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-video-modal-overlay.open .tool-video-modal {
  transform: scale(1);
}

.tool-video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.tool-video-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.tool-video-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.tool-video-modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: scale(1.05);
}

.tool-video-modal-body {
  background: #000000;
  padding: 0;
}

.tool-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000000;
}

.tool-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}