/* Tools Hub Stylesheet - Digital WebXpert */

.tools-hero {
  padding: 32px 0 80px;
  background: radial-gradient(ellipse at 10% 5%, #dff2fa, transparent 65%), radial-gradient(ellipse at 90% 95%, #eae2fb, transparent 60%), #f6f8fc;
}

.tools-hero h1 {
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 20px 0;
  color: var(--navy);
}

.tools-hero .actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero Diagnostic Preview Panel */
.tools-diagnostic-panel {
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(145deg, #101e35, #192b4b 65%, #2e2a58);
  color: #fff;
  box-shadow: 0 24px 60px rgba(25, 43, 75, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.tools-diagnostic-panel::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(27, 166, 201, 0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tools-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.tools-panel-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fe5f5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tools-live-dot {
  width: 8px;
  height: 8px;
  background: #15d6a0;
  border-radius: 50%;
  box-shadow: 0 0 10px #15d6a0;
  display: inline-block;
}

.tools-panel-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #d2e4f7;
}

.tools-diagnostic-panel h2 {
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #ffffff;
}

.tools-metric-list {
  display: grid;
  gap: 12px;
}

.tools-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 13px;
  color: #e3edf7;
}

.tools-metric-row span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tools-metric-row em {
  font-style: normal;
  font-weight: 800;
  color: #8fe5f5;
}

.tools-panel-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9cb1cd;
}

/* Tools Card Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 22px;
  padding: 34px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(25, 43, 75, 0.05);
  overflow: hidden;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(25, 43, 75, 0.12);
  border-color: #c7d5ea;
}

.tool-card:hover::after {
  opacity: 1;
}

.tool-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.tool-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #553fd2;
  background: #f0ecff;
  padding: 5px 12px;
  border-radius: 999px;
}

.tool-card:nth-child(2n) .tool-category-badge {
  color: #0c738e;
  background: #e6f7fa;
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0ecff, #e3f6fb);
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}

.tool-card h3 {
  font-size: 25px;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--navy);
}

.tool-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tool-card h3 a:hover {
  color: var(--purple);
}

.tool-card-intro {
  font-size: 16px;
  line-height: 1.65;
  color: #53647e;
  margin: 0 0 24px;
}

/* Feature Checkpoints */
.tool-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf2f7;
  padding-top: 20px;
}

.tool-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #3f516a;
  line-height: 1.5;
}

.tool-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Highlight Pills */
.tool-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tool-pill {
  font-size: 12px;
  font-weight: 650;
  color: #4b5d77;
  background: #f4f7fb;
  border: 1px solid #e2eaf4;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Tool Action Row */
.tool-card-action {
  margin-top: auto;
  padding-top: 16px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--purple), #4a78ff);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(108, 77, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.tool-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(108, 77, 255, 0.32);
  color: #ffffff;
  text-decoration: none;
}

.tool-btn span {
  font-size: 16px;
  line-height: 1;
}

/* Value Band */
.tools-value-band {
  background: #f1f5fa;
}

.tools-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.tools-value-item {
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  padding: 24px;
}

.tools-value-item span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-value-item h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--navy);
}

.tools-value-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Placeholder Single Tool Detail View */
.tool-detail-hero {
  padding: 36px 0 70px;
  background: radial-gradient(ellipse at 15% 10%, #e3f4fa, transparent 65%), radial-gradient(ellipse at 85% 90%, #eee8fc, transparent 65%), #f6f8fc;
}

.tool-detail-hero .actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tool-detail-hero .showcase-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #654cb5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tool-detail-hero .showcase-link:hover {
  color: #4a3399;
  transform: translateX(-3px);
}

.tools-back-wrap {
  text-align: center;
  margin: 48px auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tools-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #f4f0ff;
  border: 1px solid #dfd5f7;
  color: #654cb5;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(101, 76, 181, 0.08);
}

.tools-back-btn:hover {
  background: #ebe3fb;
  color: #483394;
  border-color: #cbbeee;
  transform: translateX(-3px);
  box-shadow: 0 6px 16px rgba(101, 76, 181, 0.14);
}

@media (max-width: 640px) {
  .tool-detail-hero .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 14px;
  }
  .tool-detail-hero .actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .tool-detail-hero .actions .showcase-link {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 8px 0;
  }
}

.tool-placeholder-card {
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 45px rgba(25, 43, 75, 0.08);
  margin-top: 36px;
}

.tool-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6f7fa;
  color: #0c738e;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 20px;
}

.tool-detail-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.tool-detail-checklist div {
  background: #f7f9fd;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #384a63;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tool-detail-checklist div::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
}

.tool-audit-intake {
  background: linear-gradient(135deg, #13243d, #243555 70%, #3d3566);
  border-radius: 20px;
  padding: 36px;
  color: #ffffff;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.tool-audit-intake h3 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #ffffff;
}

.tool-audit-intake p {
  color: #c0d1e5;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Interactive Scanner & Growth Score Dashboard */
.scanner-card {
  background: #ffffff;
  border: 1px solid #dfe5f0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(25, 43, 75, 0.08);
  margin-top: 32px;
}

.scanner-form {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr auto;
  gap: 12px;
  align-items: center;
}

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

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

.scanner-input {
  width: 100%;
  padding: 16px 18px 16px 48px;
  border: 2px solid #e1e8f2;
  border-radius: 14px;
  font-size: 16px;
  color: var(--navy);
  background: #fbfcfe;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.scanner-input:focus {
  border-color: var(--purple);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.12);
}

.scanner-select {
  padding: 16px 18px;
  border: 2px solid #e1e8f2;
  border-radius: 14px;
  font-size: 15px;
  color: var(--navy);
  background: #fbfcfe;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}

.scanner-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.12);
}

.scanner-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), #4a78ff);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(108, 77, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.scanner-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(108, 77, 255, 0.35);
}

.scanner-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.scanner-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: #63758f;
}

.scanner-chip {
  background: #f1f5fa;
  border: 1px solid #e2eaf4;
  color: #3b506e;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: background 0.18s, color 0.18s;
  border: none;
}

.scanner-chip:hover {
  background: #e6edf8;
  color: var(--purple);
}

/* Loading State Box */
.scanner-loading {
  display: none;
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f2;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 12px 35px rgba(25, 43, 75, 0.06);
}

.scanner-loading-bar-wrap {
  height: 8px;
  background: #edf2f8;
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 24px;
}

.scanner-loading-bar {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 999px;
  transition: width 0.4s ease;
  animation: pulse-bar 1.8s infinite;
}

@keyframes pulse-bar {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.scanner-steps {
  display: grid;
  gap: 12px;
}

.scanner-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #64758d;
}

.scanner-step-row.active {
  color: var(--navy);
  font-weight: 700;
}

.scanner-step-row.done {
  color: var(--green);
}

.scanner-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef3f9;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.scanner-step-row.active .scanner-step-icon {
  background: #f0ecff;
  color: var(--purple);
}

.scanner-step-row.done .scanner-step-icon {
  background: #e6f9f3;
  color: var(--green);
}

/* Error Box */
.scanner-error {
  display: none;
  margin-top: 24px;
  background: #fff4f4;
  border: 1px solid #fed2d2;
  border-radius: 14px;
  padding: 18px 22px;
  color: #c52222;
  font-size: 14px;
  line-height: 1.5;
}

/* Results Dashboard */
.audit-results {
  display: none;
  margin-top: 36px;
}

.audit-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 24px;
}

.audit-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.audit-engine-tag {
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0ecff;
  color: var(--purple);
}

/* Overview Score Card */
.audit-summary-card {
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 12px 35px rgba(25, 43, 75, 0.06);
  margin-bottom: 28px;
}

.score-gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.score-radial {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--purple) 0deg, var(--cyan) 270deg, #e8edf4 270deg 360deg);
  box-shadow: 0 10px 25px rgba(25, 43, 75, 0.1);
}

.score-radial-inner {
  width: 132px;
  height: 132px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-radial-number {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.score-radial-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7d8ea6;
  text-transform: uppercase;
  margin-top: 4px;
}

.score-rating-tag {
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: #eef6fc;
  color: #1a6da0;
}

.audit-summary-text h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--navy);
}

.audit-summary-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #556781;
  margin: 0 0 20px;
}

.opportunity-callout {
  background: linear-gradient(135deg, #f7f5ff, #eef9fb);
  border: 1px solid #dbe2fb;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #384e6c;
}

.opportunity-callout b {
  color: var(--purple);
  font-size: 15px;
}

/* 5 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e0e6f0;
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-name {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64758d;
}

.pillar-score {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

.pillar-bar-bg {
  height: 6px;
  background: #edf2f8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pillar-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--purple);
  transition: width 0.6s ease;
}

.pillar-status {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--navy);
}

.pillar-summary {
  font-size: 12px;
  color: #687993;
  line-height: 1.5;
  margin: 0;
}

/* Findings Columns: Strengths & Issues */
.findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.findings-box {
  background: #ffffff;
  border: 1px solid #dfe5f0;
  border-radius: 20px;
  padding: 30px;
}

.findings-box h3 {
  font-size: 20px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #3f516a;
  line-height: 1.6;
}

.strength-item::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}

.issue-card {
  background: #fbfcfe;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  padding: 14px 16px;
}

.issue-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.issue-title {
  font-size: 14px;
  font-weight: 750;
  color: var(--navy);
}

.priority-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}

.priority-tag.high {
  background: #fee2e2;
  color: #b91c1c;
}

.priority-tag.medium {
  background: #fef3c7;
  color: #b45309;
}

.priority-tag.low {
  background: #e0f2fe;
  color: #0369a1;
}

.issue-impact {
  font-size: 13px;
  color: #657791;
  line-height: 1.5;
  margin: 0;
}

/* Roadmap Grid */
.roadmap-section {
  background: #ffffff;
  border: 1px solid #dfe5f0;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 28px;
}

.roadmap-section h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--navy);
}

.roadmap-section p {
  color: #64758d;
  font-size: 15px;
  margin: 0 0 24px;
}

.roadmap-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-step-card {
  background: #f8fafe;
  border: 1px solid #e2eaf5;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.roadmap-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.effort-badge {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 6px;
  background: #e8ecf8;
  color: #405273;
}

.roadmap-step-card h4 {
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--navy);
}

.roadmap-step-card p {
  font-size: 13px;
  color: #5d6f88;
  line-height: 1.55;
  margin: 0 0 12px;
}

.step-timeframe {
  font-size: 11px;
  font-weight: 700;
  color: #198754;
}

/* Responsive Overrides for Growth Score */
@media (max-width: 1080px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .roadmap-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .scanner-form {
    grid-template-columns: 1fr;
  }
  .audit-summary-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .findings-grid {
    grid-template-columns: 1fr;
  }
}

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

/* AI Engine Readiness Grid */
.ai-engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.ai-engine-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(16, 30, 53, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-engine-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 30, 53, 0.08);
}

.ai-engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ai-engine-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-engine-status {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.04em;
}

.ai-engine-status.ready {
  background: #e6f9f3;
  color: #0e7a56;
}

.ai-engine-status.needs-work {
  background: #fef3c7;
  color: #b45309;
}

.ai-engine-status.blocked {
  background: #fee2e2;
  color: #b91c1c;
}

.ai-engine-score {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.ai-engine-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Website Cost Calculator Configurator Styles */
.calc-step-section {
  margin-bottom: 32px;
}

.calc-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.calc-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.calc-option-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-option-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 30, 53, 0.05);
}

.calc-option-card.active {
  border-color: var(--purple);
  background: #fbf9ff;
  box-shadow: 0 8px 24px rgba(107, 70, 193, 0.12);
}

.calc-option-card input[type="radio"],
.calc-option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calc-card-icon {
  font-size: 24px;
}

.calc-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.calc-option-card.active .calc-radio-indicator {
  border-color: var(--purple);
  background: var(--purple);
}

.calc-option-card.active .calc-radio-indicator::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.calc-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.calc-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.calc-currency-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-currency-toggle {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
}

.calc-currency-btn {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-currency-btn.active {
  background: #ffffff;
  color: var(--purple);
  box-shadow: 0 2px 8px rgba(107, 70, 193, 0.15);
}

/* Cost Results Dashboard */
.calc-results-hero {
  background: linear-gradient(135deg, #0f172a, #1e1b4b 65%, #31104b);
  border-radius: 24px;
  padding: 36px;
  color: #ffffff;
  margin-bottom: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

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

.calc-cost-display-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 8px;
}

.calc-cost-amount {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 12px;
}

.calc-timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.calc-scope-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 16px;
}

.calc-scope-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #cbd5e1;
}

.calc-scope-row strong {
  color: #ffffff;
}

/* Itemized Cost Breakdown */
.calc-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.calc-breakdown-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(16, 30, 53, 0.04);
}

.calc-breakdown-phase {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.calc-breakdown-range {
  font-size: 20px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 8px;
}

.calc-breakdown-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Deliverables & Stack */
.calc-deliverables-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
}

.calc-deliverables-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calc-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.calc-deliverables-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
  font-size: 16px;
}

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


@media (max-width: 700px) {
  .tools-hero {
    padding-bottom: 44px;
  }
  .tools-hero h1 {
    font-size: 38px;
  }
  .tool-card {
    padding: 24px;
  }
  .tools-values-grid {
    grid-template-columns: 1fr;
  }
  .tool-detail-checklist {
    grid-template-columns: 1fr;
  }
  .tool-placeholder-card {
    padding: 26px 20px;
  }
  .tool-audit-intake {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   TOOLS PLATFORM EXPANSION: TOOLS 1-5 & SHARED COMPONENTS
   ========================================================================== */

/* Tools Hub Controls (Filter Pills & Search) */
.tools-hub-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 28px;
}

@media (min-width: 900px) {
  .tools-hub-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tools-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-filter-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-filter-pill:hover {
  border-color: var(--primary, #0066cc);
  color: var(--primary, #0066cc);
  background: #f0f7ff;
}

.tool-filter-pill.active {
  background: var(--navy, #192b4b);
  color: #ffffff;
  border-color: var(--navy, #192b4b);
  box-shadow: 0 4px 12px rgba(25, 43, 75, 0.2);
}

.tools-search-box {
  position: relative;
  min-width: 280px;
  max-width: 400px;
  width: 100%;
}

.tools-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  opacity: 0.6;
}

.tools-search-field {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  transition: all 0.2s ease;
}

.tools-search-field:focus {
  border-color: var(--primary, #0066cc);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.tools-no-results-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
  margin: 32px 0;
}

/* Privacy Guarantee Banner */
.compressor-privacy-banner {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.privacy-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.privacy-banner-text {
  font-size: 14px;
  color: #065f46;
  line-height: 1.5;
}

/* Split Workspace Layout */
.tool-split-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 960px) {
  .tool-split-workspace {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.tool-input-card,
.tool-output-card {
  padding: 32px;
}

/* Generic Tool Form Elements */
.tool-form-group {
  margin-bottom: 18px;
}

.tool-form-group label {
  display: block;
  font-size: 14px;
  color: var(--navy, #192b4b);
  margin-bottom: 6px;
}

.tool-input,
.tool-select,
.tool-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.tool-input:focus,
.tool-select:focus,
.tool-textarea:focus {
  border-color: var(--primary, #0066cc);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.tool-input-prefix-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.tool-input-prefix {
  background: #f1f5f9;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  border-right: 1px solid #cbd5e1;
}

.tool-input-prefix-wrap .tool-input {
  border: none;
  border-radius: 0;
}

.tool-form-help {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.tool-label-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-char-count {
  font-size: 12px;
  color: #64748b;
}

.tool-templates-wrap {
  margin-top: 14px;
}

.tool-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tool-template-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-template-pill:hover {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

/* Wizard Steps & Navigation */
.wizard-progress-bar-wrap {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #10b981);
  transition: width 0.35s ease;
}

.wizard-nav-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
  gap: 12px;
}

.wizard-nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.wizard-nav-tab.active {
  color: var(--primary, #0066cc);
  border-bottom-color: var(--primary, #0066cc);
}

.wizard-nav-tab.completed {
  color: #10b981;
}

.tab-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
}

.wizard-nav-tab.active .tab-num {
  background: var(--primary, #0066cc);
  color: #ffffff;
}

.wizard-nav-tab.completed .tab-num {
  background: #10b981;
  color: #ffffff;
}

.wizard-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

/* Planner Summary & Metrics */
.planner-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.planner-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.pm-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.pm-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy, #192b4b);
}

.pm-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.planner-complexity-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.planner-scope-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.planner-feature-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.planner-feature-tags li {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 8px;
}

.planner-actions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-toast {
  background: #10b981;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 14px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

/* WhatsApp Chat Preview Bubble */
.wa-chat-preview-container {
  background: #e5ddd5;
  background-image: radial-gradient(#d3c6ba 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.wa-chat-header {
  background: #075e54;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-chat-info strong {
  display: block;
  font-size: 14px;
}

.wa-chat-info span {
  font-size: 11px;
  opacity: 0.85;
}

.wa-chat-body {
  padding: 24px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.wa-message-bubble {
  background: #dcf8c6;
  color: #111b21;
  padding: 10px 14px;
  border-radius: 12px 0 12px 12px;
  max-width: 85%;
  align-self: flex-end;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  word-break: break-word;
}

.wa-message-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 10px;
  color: #667781;
  margin-top: 4px;
}

.wa-ticks {
  color: #53bdeb;
  font-weight: 800;
}

.wa-link-display-wrap {
  margin: 8px 0 14px;
}

.wa-action-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wa-qr-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 18px;
  text-align: center;
}

.wa-qr-canvas-holder {
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tool-wa-btn {
  background: #25d366;
  color: #ffffff !important;
  border: none;
}

.tool-wa-btn:hover {
  background: #128c7e;
}

/* QR Code Generator Styling */
.qr-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qr-tab-btn {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-tab-btn.active {
  background: var(--navy, #192b4b);
  color: #ffffff;
  border-color: var(--navy, #192b4b);
}

.qr-canvas-preview-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.qr-stage-box {
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

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

.tool-color-input-wrap input[type="color"] {
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  background: transparent;
}

/* Image Dropzone & Compressor */
.tool-dropzone {
  border: 2px dashed #94a3b8;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tool-dropzone:hover,
.tool-dropzone.drag-active {
  border-color: var(--primary, #0066cc);
  background: #f0f7ff;
}

.tool-dropzone.mini {
  padding: 24px 16px;
}

.dropzone-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.comp-batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 20px;
}

.comp-stats-summary {
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 14px;
}

.comp-total-saved-pill {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
}

.comp-queue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.comp-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.comp-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.comp-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comp-item-info {
  flex-grow: 1;
  min-width: 0;
}

.comp-item-name {
  display: block;
  font-size: 14px;
  color: var(--navy, #192b4b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comp-item-sizes {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.comp-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.comp-saved-positive {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.tool-remove-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.tool-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Image Resizer Presets */
.resizer-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.preset-pill-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-pill-btn:hover {
  background: #f0f7ff;
  border-color: var(--primary, #0066cc);
}

.preset-pill-btn strong {
  display: block;
  font-size: 13px;
  color: var(--navy, #192b4b);
}

.preset-pill-btn span {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.resizer-preview-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resizer-live-canvas {
  max-width: 100%;
  max-height: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.resizer-meta-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
}

.resizer-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.resizer-meta-row:last-child {
  border-bottom: none;
}

/* Sliders */
.tool-slider {
  width: 100%;
  accent-color: var(--primary, #0066cc);
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Shared Conversion CTA */
.tool-conversion-cta-wrap {
  padding: 20px 0 60px;
}

.tool-cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #192b4b 60%, #0369a1 100%);
  border-radius: 20px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.2);
}

@media (min-width: 900px) {
  .tool-cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tool-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Shared FAQ Section */
.tool-faq-section {
  background: #f8fafc;
  padding: 60px 0;
  border-top: 1px solid #e2e8f0;
}

.tool-faq-accordion {
  max-width: 840px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  transition: all 0.2s ease;
}

.tool-faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.tool-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy, #192b4b);
  list-style: none;
}

.tool-faq-question::-webkit-details-marker {
  display: none;
}

.tool-faq-icon {
  font-size: 20px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.tool-faq-item[open] .tool-faq-icon {
  transform: rotate(45deg);
}

.tool-faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.tool-faq-answer p {
  margin: 0;
}

/* ==========================================================================
   TOOLS 6-10 STYLING: SERP PREVIEW, SCHEMA, ROBOTS.TXT, UTM BUILDER
   ========================================================================== */

/* SERP Meter Bars & Health Badges */
.serp-counter-pill {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 12px;
}

.serp-meter-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0 6px;
}

.serp-meter-fill {
  height: 100%;
  background: #10b981;
  transition: width 0.25s ease, background 0.25s ease;
}

.serp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.serp-status-badge {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.serp-status-badge.good {
  background: #dcfce7;
  color: #15803d;
}

.serp-status-badge.warn {
  background: #fef3c7;
  color: #b45309;
}

.serp-status-badge.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.serp-pixel-info {
  color: #94a3b8;
}

/* Device Toggle for SERP Preview */
.serp-device-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 30px;
  padding: 3px;
  gap: 3px;
}

.serp-device-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.serp-device-btn.active {
  background: #ffffff;
  color: var(--navy, #192b4b);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Google SERP Snippet Simulation Card */
.google-serp-stage {
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: 16px;
  padding: 22px;
  margin-top: 16px;
  box-shadow: 0 1px 6px rgba(32,33,36,0.08);
}

.google-snippet-card {
  font-family: Arial, sans-serif;
  text-align: left;
}

.google-snippet-card.desktop {
  max-width: 600px;
}

.google-snippet-card.mobile {
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fafafa;
}

.google-snippet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.google-favicon-box {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-breadcrumb-box {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.google-site-name {
  font-size: 14px;
  color: #202124;
  font-weight: 400;
  line-height: 1.2;
}

.google-url-path {
  font-size: 12px;
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.google-snippet-title h3 {
  font-size: 20px;
  line-height: 1.3;
  color: #1a0dab;
  font-weight: 400;
  margin: 0 0 6px;
  cursor: pointer;
}

.google-snippet-title h3:hover {
  text-decoration: underline;
}

.google-snippet-card.mobile .google-snippet-title h3 {
  font-size: 18px;
  color: #1558d6;
}

.google-snippet-desc p {
  font-size: 14px;
  color: #4d5156;
  line-height: 1.58;
  margin: 0;
  word-break: break-word;
}

/* Code Display Block */
.serp-code-preview-box,
.schema-code-container {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  text-align: left;
}

.serp-code-header {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
}

.serp-code-block {
  padding: 16px;
  margin: 0;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Schema Rows */
.schema-faq-item-row,
.schema-bc-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.schema-faq-item-row .tool-form-group:last-child {
  margin-bottom: 0;
}
.tools-seo-intro{background:#f7f9fc;border-top:1px solid #e4eaf4}.tools-seo-intro-inner{display:grid;grid-template-columns:1fr 1.6fr;gap:8%;align-items:start}.tools-seo-intro h2{font-size:clamp(28px,3vw,40px);line-height:1.15;max-width:360px}.tools-seo-intro-body p{font-size:16px;line-height:1.85;color:#5a6b82;margin:0 0 16px}.tools-seo-intro-body p:last-child{margin:0}.tools-seo-intro-body a{color:#6750db;font-weight:700;text-decoration:none}.tools-seo-intro-body a:hover{text-decoration:underline}.tools-seo-intro-body strong{color:#182b48}@media(max-width:760px){.tools-seo-intro-inner{grid-template-columns:1fr;gap:20px}}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL (ALL TOOLS & HUB)
   ========================================================================== */

/* Page container & overflow protection */
.tools-page {
  overflow-x: hidden;
}

.tools-page .container {
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* Card wrappers for modular tools */
.calc-card,
.planner-wizard-card,
.tool-workspace-card {
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(25, 43, 75, 0.05);
}

/* Option Grids */
.calc-grid-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 641px) {
  .calc-grid-options.col-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-grid-options.col-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-grid-options.col-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .calc-grid-options.col-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calc-grid-options.col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Option Cards (Radio / Checkbox tiles) */
.calc-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.calc-option:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.calc-option.selected,
.calc-option:has(input:checked) {
  border-color: #6750db;
  background: #f7f5ff;
  box-shadow: 0 4px 14px rgba(103, 80, 219, 0.12);
}

.calc-option input[type="radio"],
.calc-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-option-content {
  width: 100%;
}

.calc-option-icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
}

.calc-option strong {
  display: block;
  font-size: 15px;
  color: #192b4b;
  margin-bottom: 4px;
}

.calc-option p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Sections & Step labels */
.calc-section {
  margin-bottom: 32px;
}

.calc-step-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6750db;
  background: #ede9fc;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.calc-step-title {
  font-size: clamp(18px, 3vw, 22px);
  color: #192b4b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.calc-step-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────────────────
   TABLET & MEDIUM SCREEN ADAPTATIONS (<= 900px)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }

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

  .showcase-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tool-split-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE SCREEN ADAPTATIONS (<= 640px)
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Tools Hero on Hub */
  .tools-hero {
    padding: 24px 0 44px;
  }

  .tools-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.14;
    margin: 14px 0;
  }

  .tools-hero .lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .tools-hero .actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
  }

  .tools-hero .actions .btn,
  .tools-hero .actions .showcase-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Diagnostic Panel on Hub Hero */
  .tools-diagnostic-panel {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .tools-diagnostic-panel h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .tools-metric-row {
    padding: 10px 12px;
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .tools-panel-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
  }

  /* Hub Category Filters & Search Box */
  .tools-hub-controls {
    margin: 22px 0 18px;
    gap: 14px;
  }

  .tools-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 6px;
    scrollbar-width: none;
  }

  .tools-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .tool-filter-pill {
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 20px;
  }

  .tools-search-box {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .tools-search-field {
    padding: 11px 16px 11px 38px;
    font-size: 14px;
  }

  /* Tool Cards */
  .tool-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .tool-card h3 {
    font-size: 20px;
  }

  .tool-card-intro {
    font-size: 14px;
    line-height: 1.55;
  }

  .tool-features li {
    font-size: 13px;
  }

  .tool-highlights {
    margin-bottom: 20px;
    gap: 6px;
  }

  .tool-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  .tool-btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Value band */
  .tools-values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .tools-value-item {
    padding: 20px 16px;
  }

  /* SEO Intro Section */
  .tools-seo-intro {
    padding: 44px 0;
  }

  .tools-seo-intro h2 {
    font-size: 24px;
  }

  .tools-seo-intro-body p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Tool Detail Hero */
  .tool-detail-hero {
    padding: 24px 0 44px;
  }

  .tool-detail-hero h1 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.16;
    margin: 14px 0;
  }

  .tool-detail-hero .lead {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Breadcrumbs */
  .showcase-breadcrumb {
    gap: 6px;
    font-size: 11px;
    margin-bottom: 20px;
  }

  /* Split Workspace Layout & Cards */
  .tool-split-workspace {
    gap: 20px;
  }

  .tool-input-card,
  .tool-output-card,
  .calc-card,
  .planner-wizard-card,
  .tool-workspace-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  /* Form Elements */
  .tool-form-group {
    margin-bottom: 16px;
  }

  .tool-form-group label {
    font-size: 13px;
  }

  .tool-input,
  .tool-select,
  .tool-textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .tool-input-prefix-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-input-prefix {
    border-right: none;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Scanner Card in Growth Score & AI Readiness */
  .scanner-card {
    padding: 20px 16px;
    border-radius: 18px;
    margin-top: 20px;
  }

  .scanner-card h2 {
    font-size: 22px !important;
  }

  .scanner-input {
    padding: 12px 14px 12px 42px;
    font-size: 14px;
  }

  .scanner-select {
    padding: 12px 14px;
    font-size: 14px;
    width: 100%;
  }

  .scanner-submit {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: center;
  }

  /* Audit Intake Banner on Mobile */
  .tool-audit-intake {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .tool-audit-intake h3 {
    font-size: 22px;
  }

  .tool-intake-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .tool-intake-form input,
  .tool-intake-form select,
  .tool-intake-form button {
    width: 100%;
  }

  /* Audit Summary & Radial Gauge */
  .audit-summary-card {
    padding: 22px 16px;
    border-radius: 18px;
    gap: 20px;
  }

  .score-radial {
    width: 140px;
    height: 140px;
  }

  .score-radial-inner {
    width: 108px;
    height: 108px;
  }

  .score-radial-number {
    font-size: 38px;
  }

  .audit-summary-text h2 {
    font-size: 22px;
  }

  .opportunity-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
    text-align: left;
  }

  .findings-box {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .roadmap-section {
    padding: 20px 16px;
    border-radius: 16px;
  }

  /* Cost Calculator & Mobile App Calculator Results */
  .calc-results-hero {
    padding: 22px 16px;
    border-radius: 18px;
    gap: 18px;
  }

  .calc-cost-amount {
    font-size: clamp(22px, 6.5vw, 32px);
    line-height: 1.2;
    word-break: break-word;
  }

  .calc-timeline-badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  .calc-breakdown-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-option-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .calc-option-card {
    padding: 14px;
  }

  .calc-currency-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .calc-currency-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Wizard Navigation Tabs */
  .wizard-nav-tabs {
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 20px;
    scrollbar-width: none;
  }

  .wizard-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .wizard-nav-tab {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .tab-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .wizard-actions-bar {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .wizard-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }

  /* Planner Metrics & Summary */
  .planner-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .planner-metric-card {
    padding: 12px 8px;
  }

  .pm-value {
    font-size: 16px;
  }

  .planner-feature-tags {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .planner-actions-toolbar {
    flex-direction: column;
    width: 100%;
  }

  .planner-actions-toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  /* WhatsApp Link Generator */
  .wa-message-bubble {
    max-width: 96%;
  }

  .wa-action-buttons-grid {
    flex-direction: column;
    width: 100%;
  }

  .wa-action-buttons-grid .btn {
    width: 100%;
    justify-content: center;
  }

  /* QR Code Generator */
  .qr-canvas-preview-wrapper {
    padding: 16px;
    min-height: auto;
    max-width: 100%;
  }

  .qr-type-tabs {
    gap: 4px;
  }

  .qr-tab-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Image Compressor & WebP */
  .tool-dropzone {
    padding: 24px 14px;
  }

  .dropzone-icon {
    font-size: 30px;
  }

  .comp-batch-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    text-align: center;
  }

  .comp-stats-summary {
    flex-direction: column;
    gap: 4px;
  }

  .comp-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .comp-item-info {
    width: 100%;
  }

  .comp-item-actions {
    width: 100%;
    justify-content: space-between;
  }

  .resizer-presets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  /* SERP Preview & Schema Generator */
  .google-serp-stage {
    padding: 14px 10px;
    overflow-x: hidden;
  }

  .google-snippet-card.desktop,
  .google-snippet-card.mobile {
    max-width: 100%;
    padding: 10px;
  }

  .google-snippet-title h3 {
    font-size: 17px;
  }

  .serp-code-preview-box,
  .schema-code-container {
    border-radius: 10px;
  }

  .serp-code-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
  }

  .serp-code-block {
    padding: 12px;
    font-size: 11px;
  }

  .schema-code-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  .schema-code-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Shared Conversion CTA */
  .tool-cta-card {
    padding: 26px 18px;
    border-radius: 16px;
    gap: 16px;
  }

  .tool-cta-card h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .tool-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .tool-cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* FAQ Accordion */
  .tool-faq-section {
    padding: 40px 0;
  }

  .tool-faq-item {
    padding: 14px 16px;
  }

  .tool-faq-question {
    font-size: 15px;
    gap: 10px;
  }
}

/* Extra small devices (<= 380px) */
@media (max-width: 380px) {
  .tool-card {
    padding: 18px 14px;
  }

  .tool-category-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .tool-pill {
    font-size: 10px;
  }

  .tools-hero h1 {
    font-size: 26px;
  }

  .planner-metrics-grid {
    grid-template-columns: 1fr;
  }

  .resizer-presets-grid {
    grid-template-columns: 1fr;
  }
}
