/**
 * Design System CSS v2.0 - tools.roofing.company
 * Professional, consistent styling for all tools
 * Updated: 2026-02-13
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --color-primary: #f05423;
  --color-primary-dark: #d9451a;
  --color-primary-light: #fff5f2;
  --color-secondary: #20191c;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --home-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================
   APP NAVBAR
   ============================================ */
.app-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.app-navbar__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .app-navbar__container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .app-navbar__container {
    padding: 0 32px;
  }
}

/* Left group: back button + logo (wraps for single grid cell on desktop) */
.app-navbar__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

.app-navbar__logo {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.app-navbar__logo:hover {
  opacity: 0.8;
}

/* Back button on tool pages - mobile only */
.navbar-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.navbar-back-btn:hover {
  background: rgba(240, 84, 35, 0.12);
  color: #f05423;
}
@media (min-width: 1024px) {
  .navbar-back-btn {
    display: none;
  }
}

/* ============================================
   NAVBAR ICONS GROUP (Search + Hamburger)
   ============================================ */
.navbar-icons-group {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: rgba(240, 84, 35, 0.08);
  border: 1px solid rgba(240, 84, 35, 0.12);
  border-radius: 12px;
  padding: 4px;
}

/* Navbar Icon Button */
.navbar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #374151;
  font-size: 15px;
  transition: all 0.2s ease;
}

.navbar-icon-btn:hover {
  background: rgba(240, 84, 35, 0.12);
  color: #f05423;
}

.navbar-icon-btn:active {
  transform: scale(0.95);
}

/* Hamburger variant within icon group */
.navbar-icon-btn--menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.navbar-icon-btn--menu .hamburger__line {
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-icon-btn--menu.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.navbar-icon-btn--menu.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-icon-btn--menu.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   MOBILE SEARCH TOGGLE (LEGACY - Now uses .navbar-icon-btn)
   ============================================ */

/* ============================================
   LOGO - Favicon on mobile, full logo on desktop
   ============================================ */
.app-navbar__logo img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.app-navbar__logo--mobile {
  display: block;
}
.app-navbar__logo--desktop {
  display: none;
}

@media (min-width: 640px) {
  .app-navbar__logo img {
    height: 28px;
    max-width: 160px;
  }
}

@media (min-width: 1024px) {
  .app-navbar__logo--mobile {
    display: none;
  }
  .app-navbar__logo--desktop {
    display: block;
  }
  .app-navbar__logo img {
    height: 24px;
    max-width: none;
  }
}

/* ============================================
   MOBILE SEARCH MODAL
   ============================================ */
.mobile-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.mobile-search-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-search-modal__content {
  position: relative;
  background: white;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-modal.active .mobile-search-modal__content {
  transform: translateY(0);
}

.mobile-search-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-search-modal__icon {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  font-size: 18px;
  pointer-events: none;
}

.mobile-search-modal__input {
  width: 100%;
  padding: 14px 40px 14px 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  transition: all 0.2s ease;
}

.mobile-search-modal__input:focus {
  outline: none;
  border-color: #f05423;
  box-shadow: 0 0 0 4px rgba(240, 84, 35, 0.1);
}

.mobile-search-modal__input::placeholder {
  color: #9ca3af;
}

.mobile-search-modal__clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.mobile-search-modal__clear:hover {
  color: #ef4444;
}

.mobile-search-modal__close {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mobile-search-modal__close:hover {
  color: #f05423;
}

.mobile-search-modal__results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px 0;
  background: white;
}

.mobile-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-search-result-item:last-child {
  border-bottom: none;
}

.mobile-search-result-item:hover,
.mobile-search-result-item:active {
  background: #fff5f2;
}

.mobile-search-result-item:hover .mobile-search-result__title {
  color: #f05423;
}

.mobile-search-result__icon {
  width: 44px;
  height: 44px;
  background: #fff5f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-search-result__icon i {
  color: #f05423;
  font-size: 18px;
}

.mobile-search-result__content {
  flex: 1;
  min-width: 0;
}

.mobile-search-result__title {
  font-weight: 600;
  font-size: 15px;
  color: #1f2937;
  margin-bottom: 3px;
  transition: color 0.15s ease;
}

.mobile-search-result__title mark {
  background: rgba(240, 84, 35, 0.2);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

.mobile-search-result__desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.mobile-search-result__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mobile-search-result__tags span {
  font-size: 11px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}

.mobile-search-result__arrow {
  color: #d1d5db;
  font-size: 14px;
  flex-shrink: 0;
}

.mobile-search-no-results {
  padding: 48px 24px;
  text-align: center;
  color: #6b7280;
}

.mobile-search-no-results i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #e5e7eb;
  display: block;
}

.mobile-search-no-results p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.mobile-search-no-results span {
  font-size: 14px;
  color: #9ca3af;
  display: block;
  line-height: 1.5;
}

/* Search result animations */
.mobile-search-result-item {
  animation: fadeIn 0.25s ease forwards;
}

/* Highlight styling for search matches */
.mobile-search-result__title mark {
  background: linear-gradient(120deg, rgba(240, 84, 35, 0.2) 0%, rgba(240, 84, 35, 0.15) 100%);
  color: #d9451a;
  border-radius: 3px;
  padding: 0 3px;
  font-weight: 600;
}

/* Improve touch feedback on search results */
.mobile-search-result-item:active {
  background: #fff5f2;
  transform: scale(0.995);
}

@media (min-width: 1024px) {
  .mobile-search-modal {
    display: none !important;
  }
}

/* ============================================
   HAMBURGER MENU (LEGACY - Now uses .navbar-icon-btn--menu)
   ============================================ */

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 64px - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 12px 16px 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.mobile-menu__link:hover {
  background: #fff5f2;
  color: #f05423;
}

.mobile-menu__link i {
  width: 24px;
  text-align: center;
  margin-right: 12px;
  font-size: 16px;
}

.mobile-menu__link--btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.mobile-menu__section {
  margin-bottom: 16px;
}
.mobile-menu__section:last-child {
  margin-bottom: 0;
}
.mobile-menu__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  padding: 8px 16px 6px;
  margin-bottom: 4px;
}

/* ============================================
   FAVORITES DRAWER
   ============================================ */
.favorites-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.favorites-drawer.hidden { display: none; }
.favorites-drawer:not(.hidden) { display: block; }
.favorites-drawer.active {
  opacity: 1;
  visibility: visible;
}

.favorites-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.favorites-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: white;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.favorites-drawer.active .favorites-drawer__panel {
  transform: translateX(0);
}

.favorites-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.favorites-drawer__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}
.favorites-drawer__title i { color: #f05423; }

.favorites-drawer__close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 24px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.favorites-drawer__close:hover {
  background: #fff5f2;
  color: #f05423;
}

.favorites-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.favorites-drawer__empty {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 24px 0;
}

.favorites-drawer__list { display: flex; flex-direction: column; gap: 4px; }

.favorites-drawer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f9fafb;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.favorites-drawer__item:hover {
  background: #fff5f2;
  border-color: rgba(240, 84, 35, 0.2);
  color: #f05423;
}

.favorites-drawer__icon {
  width: 40px;
  height: 40px;
  background: #fff5f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f05423;
  font-size: 16px;
  flex-shrink: 0;
}

.favorites-drawer__name { flex: 1; min-width: 0; }
.favorites-drawer__arrow {
  color: #9ca3af;
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================
   DESKTOP NAV
   ============================================ */
.desktop-nav {
  display: none;
}

/* Left group: back button + logo (wrapped for single-row grid) */
.navbar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Center the desktop navigation menu on desktop (≥1024px) - single row, no wrap */
@media (min-width: 1024px) {
  .app-navbar__container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 24px;
    grid-auto-flow: column;
  }
  
  .app-navbar__left {
    justify-self: start;
  }
  
  .app-navbar__logo {
    flex-shrink: 0;
  }
  
  .app-navbar__logo img {
    max-width: 200px;
  }
  
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
  }
  
  .desktop-nav__link {
    flex-shrink: 0;
  }
  
  .navbar-icons-group {
    justify-self: end;
    margin-left: 0;
    flex-shrink: 0;
  }
  
  /* Account for back button on tool pages */
  .navbar-back-btn + .app-navbar__logo {
    margin-left: 0;
  }
}

  .desktop-nav__link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
  }

  .desktop-nav__link:hover {
    color: #f05423;
    background: rgba(240, 84, 35, 0.06);
  }

  .desktop-nav__link:active {
    transform: scale(0.98);
  }

  .desktop-nav__link--btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
}

/* ============================================
   NAVBAR SEARCH
   ============================================ */
.navbar-search {
  position: relative;
  width: 200px;
}

.navbar-search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  font-size: 14px;
  color: white;
  transition: all 0.3s ease;
}

.navbar-search-input::placeholder {
  color: rgba(255,255,255,0.8);
}

.navbar-search-input:focus {
  outline: none;
  background: rgba(255,255,255,0.35);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(240, 84, 35, 0.4);
}

.navbar-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-content {
  padding-top: 64px;
}

/* ============================================
   INPUTS & FORMS
   ============================================ */
.input-group {
  margin-bottom: 24px;
}

.input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: #6b7280;
  font-size: 18px;
  pointer-events: none;
}

.input-field {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 48px;
  font-size: 16px;
  color: #1f2937;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.15s ease;
  -webkit-appearance: none;
  font-family: 'Inter', system-ui, sans-serif;
}

.input-field.has-suffix {
  padding-right: 56px;
}

.input-field:focus {
  outline: none;
  border-color: #f05423;
  box-shadow: 0 0 0 4px rgba(240, 84, 35, 0.1);
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-suffix {
  position: absolute;
  right: 16px;
  color: #6b7280;
  font-weight: 500;
  pointer-events: none;
}

.input-help {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-error {
  font-size: 13px;
  color: #ef4444;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.select-field {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 16px;
  font-size: 16px;
  color: #1f2937;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  font-family: 'Inter', system-ui, sans-serif;
}

.select-field:focus {
  outline: none;
  border-color: #f05423;
  box-shadow: 0 0 0 4px rgba(240, 84, 35, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #f05423 0%, #d9451a 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(240, 84, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 84, 35, 0.4);
}

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

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-block {
  width: 100%;
}

/* ============================================
   TOOLTIPS
   ============================================ */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-trigger {
  color: #9ca3af;
  cursor: help;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.tooltip-trigger:hover,
.tooltip-trigger:focus {
  color: #f05423;
}

.tooltip__content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #20191c;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  max-width: 280px;
  min-width: 200px;
  pointer-events: none;
}

.tooltip__content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #20191c;
}

.tooltip:hover .tooltip__content,
.tooltip-trigger:hover + .tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.tooltip-trigger:focus + .tooltip__content,
.tooltip.tooltip--active .tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

@media (hover: none) and (pointer: coarse) {
  .tooltip-trigger {
    cursor: pointer;
    padding: 4px;
    margin: -4px;
  }
  
  .tooltip__content {
    padding: 16px;
    font-size: 15px;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .tooltip__content {
    left: 0;
    right: 0;
    transform: none;
    width: 90vw;
    max-width: none;
    min-width: auto;
    margin: 0 auto;
  }
  
  .tooltip.tooltip--active .tooltip__content,
  .tooltip-trigger:focus + .tooltip__content {
    transform: none;
  }
  
  .tooltip__content::after {
    left: 30px;
  }
}

/* ============================================
   RESULTS CARDS
   ============================================ */
.result-highlight {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  border: 2px solid #f05423;
  box-shadow: 0 4px 15px rgba(240, 84, 35, 0.15);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.result-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.result-card--primary {
  background: linear-gradient(135deg, #f05423 0%, #d9451a 100%);
  color: white;
  border: none;
}

.result-card--primary .result-label {
  color: rgba(255,255,255,0.8);
}

.result-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: #f05423;
}

.result-card--primary .result-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

.result-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.result-card--primary .result-value {
  color: white;
}

.result-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-unit {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
}

/* ============================================
   STICKY CTA - MOBILE INSTALL BUTTON (v3.0)
   Redesigned for better mobile UX with dismiss option
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  opacity: 0;
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
}

/* Hide when in PWA/standalone mode */
@media (display-mode: standalone) {
  .sticky-cta {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* Hide on homepage when bottom nav is shown (mobile) */
body.has-bottom-nav .sticky-cta {
  display: none !important;
}

/* Wrapper for button + dismiss */
.sticky-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

/* Close button - top right of CTA */
.sticky-cta-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}
.sticky-cta-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}
.sticky-cta-close:active {
  transform: scale(0.95);
}

/* Sticky CTA Button - Redesigned v3.0 */
.sticky-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f05423 0%, #e0481f 50%, #d9451a 100%);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 
    0 8px 32px rgba(240, 84, 35, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  /* Improve touch target */
  min-height: 60px;
  -webkit-tap-highlight-color: transparent;
}

/* Shimmer effect overlay */
.sticky-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.sticky-cta-btn:hover::before,
.sticky-cta-btn:active::before {
  left: 100%;
}

/* Top highlight */
.sticky-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.sticky-cta-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 12px 40px rgba(240, 84, 35, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}

.sticky-cta-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 
    0 4px 20px rgba(240, 84, 35, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.1s ease;
}

.sticky-cta-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.2s ease;
}

.sticky-cta-btn:hover .sticky-cta-icon-wrapper {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.sticky-cta-btn:active .sticky-cta-icon-wrapper {
  transform: scale(0.95);
}

/* Legacy support for old icon image */
.sticky-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  background: white;
  padding: 2px;
}

.sticky-cta-text {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.sticky-cta-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: white;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}

/* ============================================
   BOTTOM NAV (Mobile - shared component)
   ============================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding-bottom: var(--home-safe-bottom);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 900;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  overflow: visible;
}
@media (min-width: 768px) { .bottom-nav { display: none !important; } }
@media (max-width: 767px) {
  .bottom-nav { display: flex !important; align-items: center; justify-content: space-around; }
  .bottom-nav-spacer { display: block !important; }
}
/* PWA/standalone: viewport can report wrong on iOS - always show bottom nav when installed */
@media (display-mode: standalone) {
  .bottom-nav { display: flex !important; align-items: center; justify-content: space-around; }
  .bottom-nav-spacer { display: block !important; }
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  margin: 0 2px;
}

.bottom-nav__item:hover,
.bottom-nav__item:focus {
  color: #f05423;
  background: rgba(240, 84, 35, 0.06);
  outline: none;
}

.bottom-nav__item:active {
  transform: scale(0.96);
}

.bottom-nav__item--active {
  color: #f05423;
  font-weight: 600;
}
.bottom-nav__item--active i {
  color: #f05423;
}

.bottom-nav__item i {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.bottom-nav__item--logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin-top: -20px;
  padding: 0;
  background: linear-gradient(135deg, #f05423 0%, #d9451a 100%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(240, 84, 35, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
}
.bottom-nav__item--logo:hover {
  transform: scale(1.05);
  /* Override parent hover: keep bg, no color change - just grow */
  background: linear-gradient(135deg, #f05423 0%, #d9451a 100%);
  color: inherit;
}
.bottom-nav__item--logo:active {
  transform: scale(0.98);
}
.bottom-nav__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bottom-nav-spacer {
  display: none;
  height: 64px;
  padding-bottom: var(--home-safe-bottom);
}
@media (max-width: 767px) {
  .bottom-nav-spacer { display: block; }
}

@media (max-width: 767px) {
  body.has-bottom-nav .app-navbar {
    position: relative;
  }
  body.has-bottom-nav .page-content {
    padding-top: 0;
  }
  body.has-bottom-nav .hero {
    margin-top: 0;
  }
}

body.has-bottom-nav {
  padding-bottom: calc(64px + var(--home-safe-bottom));
}

/* ============================================
   PITCH VISUAL
   ============================================ */
.pitch-visual {
  width: 100%;
  height: 80px;
  background: #f3f4f6;
  border-radius: 12px;
  position: relative;
  margin-top: 12px;
  overflow: hidden;
}

.pitch-roof {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 40px solid #f05423;
  transition: all 0.3s ease;
}

/* ============================================
   SIDEBAR CTA (Sticky)
   ============================================ */
.sticky-sidebar-cta {
  position: relative;
}

/* Ensure parent grid allows sticky to work */
.grid > [class*="col-span"] {
  min-height: 1px;
  align-items: start; /* Critical for sticky to work in grid */
}

/* Support sticky in grid layouts */
.grid:has(.sticky-sidebar-cta) {
  align-items: start;
}

@media (min-width: 1024px) {
  .sticky-sidebar-cta {
    position: sticky;
    position: -webkit-sticky; /* Safari support */
    top: 88px; /* Account for fixed navbar (64px) + spacing (24px) */
    align-self: start; /* Important for sticky in flex/grid contexts */
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    will-change: position; /* Performance optimization */
    z-index: 10;
  }
  
  /* Support for older Safari */
  @supports not (position: sticky) {
    .sticky-sidebar-cta {
      position: -webkit-sticky;
    }
  }
  
  .sticky-sidebar-cta::-webkit-scrollbar {
    width: 4px;
  }
  
  .sticky-sidebar-cta::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .sticky-sidebar-cta::-webkit-scrollbar-thumb {
    background: rgba(240, 84, 35, 0.3);
    border-radius: 2px;
  }
}

/* Mobile: Sidebar CTA appears inline, not sticky */
@media (max-width: 1023px) {
  .sticky-sidebar-cta {
    position: relative;
    top: auto;
    margin-top: 2rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.app-footer {
  background: #20191c;
  color: white;
  padding: 64px 0 32px;
  margin-top: auto;
  flex-shrink: 0;
}

/* Mobile: minimized footer - all links in More menu */
@media (max-width: 767px) {
  .app-footer .max-w-7xl > div:first-child {
    display: none !important;
  }
  .app-footer .max-w-7xl > .border-t {
    border-top: none !important;
    padding-top: 16px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .app-footer {
    padding: 20px 16px 16px;
  }
  .app-footer .border-t .text-gray-600 {
    display: none !important;
  }
}

/* Prevent white strip below footer */
html {
  min-height: 100%;
}

/* Loading overlay removed - was causing issues */

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.4s ease forwards;
}

/* Haptic feedback support - subtle vibration class */
.haptic-feedback {
  -webkit-tap-highlight-color: transparent;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .sticky-cta-btn,
  .sticky-cta-icon-wrapper,
  .sticky-cta-arrow,
  .animate-fade-in,
  .animate-slide-up {
    animation: none !important;
    transition: none !important;
  }
  
  .sticky-cta.visible {
    animation: none !important;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
  .input-field,
  .select-field {
    height: 52px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    padding: 14px 24px;
  }
  
  .result-value {
    font-size: 20px;
  }
}

/* ============================================
   FORMULA SECTION
   ============================================ */
.formula-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.formula-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.formula-box {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: #374151;
  border-left: 4px solid #f05423;
  margin-bottom: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

/* Mobile Formula Improvements */
@media (max-width: 640px) {
  .formula-section {
    padding: 16px;
    margin-top: 24px;
    border-radius: 12px;
  }
  
  .formula-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .formula-box {
    padding: 12px;
    font-size: 13px;
    border-left-width: 3px;
    margin-bottom: 12px;
    white-space: normal;
    word-break: break-word;
  }
  
  .formula-box code {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  margin-top: 32px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-answer {
  padding: 0 20px 16px;
  color: #4b5563;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin-top: 32px;
  border: 2px solid rgba(240, 84, 35, 0.1);
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.cta-description {
  color: #6b7280;
  margin-bottom: 20px;
}

/* ============================================
   CALCULATOR CARD
   ============================================ */
.calculator-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .calculator-card {
    padding: 32px;
  }
}

/* ============================================
   TOOLBOX CARD - Professional Tool Cards
   ============================================ */
.toolbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .toolbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .toolbox-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .toolbox-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.toolbox-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.toolbox-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f05423 0%, #ff7a50 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.toolbox-card:hover {
  border-color: #f05423;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(240, 84, 35, 0.15);
  transform: translateY(-3px);
}

.toolbox-card:hover::before {
  opacity: 1;
}

.toolbox-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.toolbox-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f05423 0%, #ff7a50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(240, 84, 35, 0.25);
}

.toolbox-card__icon i {
  color: white;
}

.toolbox-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

.toolbox-card__tagline {
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbox-card__tagline::before {
  content: '⚡';
  font-size: 12px;
}

.toolbox-card__body {
  flex: 1;
  margin-bottom: 16px;
}

.toolbox-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toolbox-card__inputs,
.toolbox-card__outputs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

.toolbox-card__inputs strong,
.toolbox-card__outputs strong {
  color: #374151;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 10px;
}

.toolbox-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.toolbox-card__tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.toolbox-card__tag--primary {
  background: rgba(240, 84, 35, 0.1);
  color: #f05423;
  border: 1px solid rgba(240, 84, 35, 0.2);
}

.toolbox-card__tag--secondary {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.toolbox-card__footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.toolbox-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.toolbox-card__btn--primary {
  background: linear-gradient(135deg, #f05423 0%, #d9451a 100%);
  color: white;
  flex: 1;
  box-shadow: 0 4px 12px rgba(240, 84, 35, 0.35), 0 2px 4px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.toolbox-card__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 84, 35, 0.45), 0 3px 6px rgba(0,0,0,0.12);
}

.toolbox-card__btn--secondary {
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
}

.toolbox-card__btn--secondary:hover {
  background: #f9fafb;
  color: #374151;
  border-color: #d1d5db;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .toolbox-card {
    padding: 14px;
    border-radius: 14px;
  }

  .toolbox-card__icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
  }

  .toolbox-card__title {
    font-size: 14px;
  }

  .toolbox-card__tagline {
    font-size: 12px;
  }

  .toolbox-card__btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .toolbox-card__footer {
    padding-top: 12px;
    gap: 6px;
  }

  .toolbox-card__tags {
    margin-top: 10px;
  }

  .toolbox-card__tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}
