
/* Fonts */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Open Sans", sans-serif;
}

/* Colors */
:root {
  --color-default: #00171F;
  --color-primary: #4DA167;
  --color-primary-hover: #3B8A54;
  --color-primary-light: #E8F5ED;
  --color-primary-tint: rgba(77,161,103,0.1);
  --color-secondary: #1B3A26;
  --color-accent: #2cbc85;
  --color-text: #00171F;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  --color-border: #E5E7EB;
  --color-surface: #F9FAFB;
  --color-surface-hover: #F1F8F3;
  --color-danger: #dc3545;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  background-color: #fff;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

.bg-black a{
  color: #32cf93 !important;
  font-weight:500;
}

a:hover {
  color: #32cf93;
  text-decoration: none;
  
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
.section-header {
  padding-bottom: 40px;
}

.section-header h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-primary);
}

.section-header h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #5bd9a9;
  margin: 4px 10px;
}

.section-header p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: #777;
}

.bg-dark{
  background-color:#f0f8ff !important
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
  padding: 60px 0 0px 0;
  min-height: 3vh;
  position: relative;
}

.page-header h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-secondary);
}

@media (max-width: 768px) {
  .page-header h2 {
    font-size: 36px;
  }
}

.page-header p {
  color: rgba(0, 0, 0, 0.8);
}

.page-header .cta-btn {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary);
}

.page-header .cta-btn:hover {
  background: var(--color-primary-hover);
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 10px;
  bottom: -15px;
  z-index: 99999;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  border-color: rgba(39, 167, 118, 1);
}

.scroll-top i {
  font-size: 24px;
  color: rgba(39, 167, 118, 1);
  line-height: 0;
}

.scroll-top:hover {
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 60px;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 10px 0;
  background-color: #fff;
}

.header .logo {
  transition: 0.3s;
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}


.header .logo div {
  font-size: 32px;
  margin: 0;
  font-weight: 500;
  color: var(--color-default);
  font-family: var(--font-secondary);
}

.header .logo i {
  font-size: 32px;
  margin-right: 8px;
  line-height: 0;
}

@media (max-width: 575px) {
  .header .logo h1 {
    font-size: 26px;
  }

  .header .logo i {
    font-size: 24px;
  }
}

.header .header-social-links {
  padding-right: 7px;
}

.header .header-social-links a {
  color: rgba(0, 0, 0, 0.5);
  padding-left: 10px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: #000;
}

@media (max-width: 575px) {
  .header .header-social-links a {
    padding-left: 5px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #000;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-secondary);
    transition: 0.3s;
    border-radius: 4px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: #000;
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #777;
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid black;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    color: #000;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin: 0 10px 0 10px;
  }

  .mobile-nav-hide {
    color: #000;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(22, 23, 24, 0.8);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--color-primary);
  line-height: 0;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 25vh;
  background: #fff;
  background-size: cover;
  position: relative;
  padding: 120px 0 30px 0;
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: 38px;
  font-weight: 700;
  color: #00171F;
  font-family: var(--font-secondary);
}

/*.hero h1 span {
  position: relative;
  z-index: 1;
  padding: 0 5px;
  display: inline-block;
}

.hero h1 span:before {
  content: "";
  position: absolute;
  height: 20%;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  z-index: -1;
}*/

.hero p {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
  font-size: 18px;
}

.hero .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary);
}

.hero .btn-get-started:hover {
  background: var(--color-primary-hover);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  margin-top: 30px;
  padding: 30px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.footer .copyright {
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
}

.footer .credits {
  padding-top: 6px;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.8);
}

.footer .credits a {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Site 
--------------------------------------------------------------*/
.bg-app{
  background-color:var(--color-primary);
}
.text-app{
  color:var(--color-primary);
}
.btn-app {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary);
  border:none;
}
.h-search-form {
  width: 100%;
  position: relative;
}
.h-search-form button {
  position: absolute;
  right: 6px;
  height: 60px;
  border: none;
  color: #fff;
  background: var(--color-primary);
  top: 5px;
  border-radius: 50px;
  width: 100px;
  z-index:100;
  
}
.h-search-form input {
  width: 100%;
  padding: 0 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-transform: capitalize;
  position: relative;
  color: #333;
  height: 70px;
  z-index:100;
  border:2px solid #000;
}
.optins-email{
  width: 70%;
  padding: 0 30px;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  text-transform: capitalize;
  position: relative;
  color: #333;
  height: 45px
}
.scroll-tags {
  overflow-x: auto;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 
.icons{
  cursor: pointer;
}
.hidden{
  display:none;
}
.page-small-header{
  font-size:1.3rem !important;
  font-weight:600;
  margin: 20px 0px;
}


.searchInput .resultBox{
  padding: 0;
  opacity: 1;
  max-height: 220px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 99;
  margin-top:-27px;
  position:absolute;
  width:100%;
  border:1px solid #777;
  border-radius: 0px 0px 10px 10px;
}

.resultBox li:hover{
  background: #efefef;
}


.resultBox li{
  list-style: none;
  padding: 8px 12px;
  display: block;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  color:#000;
}
.tool-wrapper{
  border:1px solid #d8f8eb;
}

.tool-wrapper:hover{
  border:1px solid #32cf93;
  box-shadow: 1px 1px 1px 1px rgb(35, 141, 35) !important;
  
}

.tool-image{
  position: relative;
  margin:-4px;
}
.tool-image .deal-badge{
  position:absolute;
  top:10px;
  right:0px;
  color:#32cf93;
  font-weight: 300;
  font-size:12px;
}
.tool-image .promo-badge{
  position:absolute;
  bottom:10px;
  right:0px;
  color:#32cf93;
  font-weight: 300;
  font-size:12px
}
.tool-image .price-badge {
  position: absolute;
  top:10px;
  left:10px
}

@media only screen and (min-width: 1279px) {
  .categories-scroll {
      flex-wrap: wrap !important;
  }
}

.pricing-badge{
  font-size:12px;
  font-weight:400;
}

.highlighted{
  /*border-bottom: 4px solid rgb(114, 129, 111);*/
  box-shadow: 1px 1px 6px 1px rgb(35, 141, 35) !important;
}

.scrollable-container {
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.scrollable-container::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.arrow-icon {
  cursor: pointer;
  margin: 0 10px;
  font-size: 24px;
  display: flex;
  align-items: center;
}

.inline-anchor{
  scroll-margin-top: 60px;
}

.two-column-list {
  columns: 1; /* Set the default to a single column */

  @media (min-width: 768px) {
  columns: 2; /* Set to two columns on screens larger than 767px */
  -webkit-columns: 2;
  -moz-columns: 2;
  }
}

.card-font{
  font-size: .875rem;
  line-height: 1.25rem
}

.modal-content {
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease-out; 
}

.modal-header, .modal-footer {
  padding: 1rem; 
  border-bottom: none; 
}

.modal-header {
  background-color: #f8f9fa; 
}


.modal-backdrop.show {
  opacity: 0.8; /* More subtle modal backdrop opacity */
}

.text-xs{
  font-size:10px
}

.accordion-button {
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  color: var(--color-primary);
  font-weight: bold;
  background-color: #fefefe;
  box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

/* Ratings and reviews */
.rating {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
}

.rating label {
  font-size: 22px;
  margin: 0;
  padding: 5px;
  cursor: pointer;
  margin: 0px
}

.rating input[type='radio'] {
    display: none;
}

.rating label  {
    color: #ccc; /* Yellow color for selected stars */
}

.rating label:hover{
  color: #ffc107;
}


.rating input[type='radio']:checked ~ label i {
    color: #ffc107; /* Yellow color for selected stars */
}

.btn-primary {
    margin-top: 10px;
}
.rating-box{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;

}

.tool-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* Ai-assist filters & search bar */
.filter-group { position: relative; }

.filter-label {
  font-size: 0.75rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: var(--color-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77,161,103,0.15);
  outline: none;
}

.filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  display: none;
}

.filter-dropdown.show { display: block; }

.filter-option {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.filter-option:hover,
.filter-option.highlighted { background: var(--color-surface-hover); }

.filter-option.selected {
  background: var(--color-primary);
  color: #fff;
}

/* Category links */
.category-link {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  margin: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.15s;
  background: var(--color-surface);
  color: var(--color-text);
}

.category-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-tint);
}

.category-link.dropdown-toggle::after {
  vertical-align: 0.15em;
  margin-left: 0.3em;
}

/* Boolean filter toggles */
.toggle-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.toggle-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--color-surface);
  user-select: none;
}

.toggle-filter:hover { border-color: var(--color-primary); }

.toggle-filter.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.toggle-filter input { display: none; }

/* Ai-assist search bar */
.ai-search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.ai-search-bar input {
  width: 100%;
  padding: 14px 120px 14px 44px;
  border: 2px solid var(--color-text);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.ai-search-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(77,161,103,0.1);
}

.ai-search-bar .sb-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}

.ai-search-bar .sb-hint {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  border: none;
  font-family: inherit;
  pointer-events: none;
}

.ai-search-bar button {
  display: none;
}

/* Filters panel */
.filters-panel {
  background: var(--color-surface);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.filters-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

/* Expansion banner */
.expansion-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.expansion-banner strong { font-weight: 600; }

.expansion-chips { margin-top: 0.5rem; }

.expansion-chip {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

/* Active filter chips bar */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 2rem;
  font-size: 0.8rem;
}

.active-filter-chip .chip-label { opacity: 0.8; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }

.active-filter-chip .chip-remove {
  cursor: pointer;
  margin-left: 0.15rem;
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1;
}

.active-filter-chip .chip-remove:hover { opacity: 1; }

.clear-all-filters {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-decoration: underline;
}

.clear-all-filters:hover { color: var(--color-text); }

/* Results header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.results-count {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Ai-assist v2 - AI Overview card */
.ai-overview-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
}

.ai-overview-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }

.ai-overview-icon { font-size: 1.1rem; color: var(--color-primary); }

.ai-overview-title { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }

.ai-overview-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0 0.25rem 0;
  line-height: 1;
}

.ai-overview-close:hover { color: var(--color-text); }

.ai-overview-body { font-size: 0.9rem; line-height: 1.6; color: var(--color-text-secondary); }

.ai-overview-body strong { color: var(--color-text); }

.ai-overview-loading { display: flex; gap: 0.3rem; padding: 0.5rem 0; }

.loading-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }

.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1); } }

/* Sidebar keywords and overview tool links */
.sidebar-keywords { margin-top: 1.25rem; }

.sidebar-keywords .keyword-link {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin: 0.2rem;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: all 0.15s;
}

.sidebar-keywords .keyword-link:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Overview subtask chips */
.overview-subtasks { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--color-border); }

.overview-subtasks-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-secondary); margin-bottom: 0.5rem; }

.subtask-chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  margin: 0.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  border-radius: 2rem;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.15s;
}

.subtask-chip:hover { background: var(--color-primary); color: #fff; }

/* Override nested container from tools_blocks_list.html inside column */
#results-main .container { max-width: 100%; padding-left: 0; padding-right: 0; }

/* Overview tool links */
.overview-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 600;
  border-bottom: 1px dashed var(--color-primary);
  padding: 0.35rem 0;
  transition: color 0.15s;
}

.overview-tool-link:hover { color: var(--color-primary); }

.overview-tool-thumb {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  vertical-align: middle;
}

/* Deals page styles */
.filter-btn {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.filter-btn.active {
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: scale(1.05);
}

/* Filter button colors */
.filter-all { background-color: var(--color-primary); }
.filter-limited_time { background-color: #3a8a56; }
.filter-lifetime { background-color: var(--color-accent); }
.filter-featured { background-color: #348b5a; }
.filter-verified { background-color: #279e6c; }

/* Deal badge colors */
.deal-badge-lifetime { background-color: var(--color-accent); }
.deal-badge-limited { background-color: var(--color-primary); }

/* Category Filter Dropdown */
.category-select-wrapper { position: relative; min-width: 250px; }

.category-select {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: 0.9rem;
  border: 2px solid var(--color-border);
  border-radius: 25px;
  background: var(--color-surface);
  cursor: pointer;
  appearance: none;
  transition: all 0.3s;
}

.category-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.category-select-wrapper::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-secondary);
}

/* Verified Badge */
.verified-badge {
  font-size: 0.65rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Vote Buttons */
.vote-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.vote-btn:hover {
  background: var(--color-surface);
}

.vote-btn.vote-up:hover { color: var(--color-primary); border-color: var(--color-primary); }

.vote-btn.vote-down:hover { color: var(--color-danger); border-color: var(--color-danger); }

.vote-btn .vote-count { font-weight: 600; }


  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.1);
  overflow:hidden
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.tool-image {
  overflow: hidden;
}

.tool-image img {
  transition: transform 0.3s;
}

.tool-card:hover .tool-image img {
  transform: scale(1.03);
}

/* Form Check Styling */
.form-check {
  margin: 0;
}

.form-check-input {
  border: 2px solid rgba(0,0,0,0.2);
  cursor: pointer;
  margin-top: 0.2em;
}

.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.form-check-input:checked + .form-check-label {
  color: #198754;
}

.form-check-label {
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Bookmark Icon Styling */
.bi-bookmark {
  transition: transform 0.2s, color 0.2s;
}

.bi-bookmark:hover {
  transform: scale(1.1);
}

.bi-bookmark.active {
  color: #dc3545;
  fill: currentColor;
}

.badge {
  font-weight: 500;
}

.text-xs {
  font-size: 0.75rem;
}
.stack-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.stack-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #198754;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  background: white;
  margin: 0;
  padding: 0;
}

.stack-checkbox:hover {
  background-color: #f8f9fa;
}

.stack-checkbox::before,
.stack-checkbox::after {
  content: '';
  position: absolute;
  background: #198754;
  transition: all 0.2s ease;
}

/* Horizontal line */
.stack-checkbox::before {
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

/* Vertical line (for plus) */
.stack-checkbox::after {
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

/* When checked, hide vertical line to create minus */
.stack-checkbox:checked::after {
  height: 0;
}

.stack-checkbox:checked {
  background: #198754;
}

.stack-checkbox:checked::before,
.stack-checkbox:checked::after {
  background: white;
}

/* Hide default focus outline and add custom one */
.stack-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.25);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*--------------------------------------------------------------
# Unified Save Button - Responsive Design
--------------------------------------------------------------*/

/* Save button styling */
.save-tool-btn {
  min-width: 36px;
  height: 36px;
  padding: 0.375rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 1rem;
  line-height: 1;
}

.save-tool-btn:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(77, 161, 103, 0.15);
}

.save-tool-btn:active {
  transform: translateY(0);
}

.save-tool-btn:focus {
  box-shadow: 0 0 0 3px rgba(77, 161, 103, 0.2);
}

/* State indicators - button icons */
.save-tool-btn .bi-bookmark-fill {
  color: var(--color-primary);
}

.save-tool-btn .bi-check-square-fill {
  color: var(--color-primary);
}

.save-tool-btn.has-both .bi:first-child {
  margin-right: 2px;
}

/* Dropdown menu styling */
.save-dropdown {
  min-width: 240px;
  padding: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin-top: 0.25rem;
}

.save-dropdown .dropdown-item {
  padding: 0.75rem 1rem;
  transition: background-color 0.15s ease;
  border: none;
  line-height: 1.3;
}

.save-dropdown .dropdown-item:hover {
  background-color: #f8f9fa;
}

.save-dropdown .dropdown-item:active {
  background-color: #e9ecef;
  color: inherit;
}

.save-dropdown .dropdown-item.active-bookmark .bi-bookmark,
.save-dropdown .dropdown-item.active-bookmark strong {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.save-dropdown .dropdown-item.active-collection .bi-stack,
.save-dropdown .dropdown-item.active-collection strong {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.save-dropdown .dropdown-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.save-dropdown .dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(0, 0, 0, 0.06);
}

.save-dropdown strong {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #212529;
}

.save-dropdown small {
  font-size: 0.8125rem;
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .save-tool-btn {
    min-width: 32px;
    height: 32px;
    padding: 0.25rem 0.375rem;
    font-size: 0.9rem;
  }

  .save-dropdown {
    min-width: 220px;
    max-width: 90vw;
  }

  .save-dropdown .dropdown-item {
    padding: 0.625rem 0.875rem;
  }

  .save-dropdown strong {
    font-size: 0.875rem;
  }

  .save-dropdown small {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .save-tool-btn {
    min-width: 28px;
    height: 28px;
    padding: 0.2rem 0.3rem;
    font-size: 0.85rem;
  }

  .save-dropdown {
    min-width: 200px;
  }

  .save-dropdown .dropdown-item {
    padding: 0.5rem 0.75rem;
  }
}

/* Animation for dropdown */
.save-dropdown {
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .save-tool-btn {
    min-width: 40px;
    height: 40px;
  }

  .save-dropdown .dropdown-item {
    padding: 1rem;
    min-height: 48px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .save-tool-btn {
    border: 2px solid currentColor;
  }

  .save-dropdown {
    border: 2px solid currentColor;
  }
}

/*--------------------------------------------------------------
# Curated Collections & Related Tools
--------------------------------------------------------------*/
.curated-accent-bar {
  width: 4px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.curated-section-header {
  background: #f0f4f1;
  border-bottom: 2px solid var(--color-primary);
}

.curated-card {
  border: 1px solid var(--color-border) !important;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.curated-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  border-color: var(--color-primary) !important;
}

.scroller {
  scroll-behavior: smooth;
  overflow-x: auto;
  gap: 0.25rem;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #333;
  border: 1px solid var(--color-border);
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 1.5rem;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.scroll-button:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(77,161,103,0.3);
}

.left-scroll {
  left: -4px;
}

.right-scroll {
  right: -4px;
}

/*--------------------------------------------------------------
# Navbar — custom elements
--------------------------------------------------------------*/

/* Fix dropdown: override dark secondary background with white */
.navbar .dropdown ul {
  background: #fff !important;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .dropdown ul a,
.navbar .dropdown ul a:focus {
  color: var(--color-text) !important;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--color-primary) !important;
  background: var(--color-surface-hover);
}

.navbar .nav-submit-cta {
  border: 1.5px solid var(--color-primary) !important;
  border-radius: 6px !important;
  color: var(--color-primary) !important;
  padding: 6px 14px !important;
  margin: 0 10px !important;
  transition: background 0.2s, color 0.2s;
}

.navbar .nav-submit-cta:hover {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

.navbar .nav-auth {
  color: var(--color-primary) !important;
  font-weight: 500;
}

.navbar .nav-auth:hover {
  color: var(--color-accent) !important;
}

/* optins - account creation card */
#optins-account .bg-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
#optins-account .card {
  border-radius: 1rem;
  transition: transform 0.3s ease;
}
#optins-account .card:hover {
  transform: translateY(-5px);
}
/* video buttons */
.video-play-btn {
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        line-height: 1;
        border: 0;
        background: transparent;
        padding: 4px;
}
.video-play-btn .bi-youtube {
        font-size: 1.8rem;
        color: #FF0000;
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}
.use-this-btn {
        border: 0;
        background: transparent;
        padding: 2px 4px;
        font-size: 0.8rem;
        line-height: 1.2;
}
.use-this-btn.active, .use-this-btn.voted {
        color: #2cbc85 !important;
}
.use-this-btn:hover, .use-this-btn:hover small, .use-this-btn:hover .use-count {
        color: #fff !important;
}