/* ============================================
   AI Blog Writer ΓÇö Dedicated Tool Styles
   ============================================ */

/* ===== Tool Section ===== */
.abw-tool-section {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.abw-tool-section .mesh-nebula {
  z-index: 0;
}

.abw-tool-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.abw-tool-header .section-tag {
  margin-bottom: 1rem;
}

.abw-tool-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.abw-tool-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Main Tool Container (glassmorphism) ===== */
.abw-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ===== Input Panel ===== */
.abw-input-panel {
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .abw-input-panel {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.abw-input-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
  pointer-events: none;
}

/* Panel header */
.abw-panel-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  position: relative;
  z-index: 1;
}

[data-theme="light"] .abw-panel-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.abw-panel-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.abw-panel-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

/* Form elements */
.abw-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.abw-field-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.abw-field-label .abw-field-hint {
  color: var(--text-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.abw-textarea,
.abw-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: all 0.2s ease;
  outline: none;
}

[data-theme="light"] .abw-textarea,
[data-theme="light"] .abw-input {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.1);
}

.abw-textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.5;
}

.abw-textarea:focus,
.abw-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
  background: var(--bg-surface);
}

[data-theme="light"] .abw-textarea:focus,
[data-theme="light"] .abw-input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.08);
}

.abw-textarea::placeholder,
.abw-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Tone selector chips */
.abw-tone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.abw-tone-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

[data-theme="light"] .abw-tone-chip {
  border-color: rgba(15, 23, 42, 0.1);
}

.abw-tone-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.abw-tone-chip.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

.abw-tone-chip .abw-tone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Slider */
.abw-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.abw-slider-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.abw-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  outline: none;
  cursor: pointer;
}

[data-theme="light"] .abw-slider {
  background: rgba(15, 23, 42, 0.1);
}

.abw-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s ease;
}

.abw-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.abw-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.abw-slider-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 60px;
  text-align: right;
}

.abw-slider-value span {
  color: var(--accent-cyan);
}

.abw-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Toggle switch */
.abw-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(148, 163, 184, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .abw-toggle-row {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

.abw-toggle-row:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.abw-toggle-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.abw-toggle-info svg {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.abw-toggle-label {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
}

.abw-toggle-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.abw-toggle-switch {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.abw-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.abw-toggle-row.active .abw-toggle-switch {
  background: var(--gradient-brand);
}

.abw-toggle-row.active .abw-toggle-switch::after {
  transform: translateX(16px);
}

/* Model selector */
.abw-model-selector {
  display: flex;
  gap: 0.5rem;
}

.abw-model-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.5rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .abw-model-btn {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

.abw-model-btn:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.abw-model-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
}

[data-theme="light"] .abw-model-btn.active {
  background: rgba(8, 145, 178, 0.04);
}

.abw-model-btn .abw-model-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.abw-model-btn .abw-model-desc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.abw-model-btn.active .abw-model-desc {
  color: var(--accent-cyan);
}

/* Generate buttons */
.abw-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.abw-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.abw-btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  animation: glowPulse 2s ease-in-out infinite;
}

.abw-btn-primary:hover {
  transform: translateY(-2px);
}

.abw-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}

.abw-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

[data-theme="light"] .abw-btn-secondary {
  border-color: rgba(15, 23, 42, 0.12);
}

.abw-btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.abw-btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== Output Panel ===== */
.abw-output-panel {
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  min-height: 600px;
}

[data-theme="light"] .abw-output-panel {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Output header with tabs */
.abw-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  flex-wrap: wrap;
  gap: 0.75rem;
}

[data-theme="light"] .abw-output-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.abw-tabs {
  display: flex;
  gap: 0.25rem;
}

.abw-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.85rem;
  border-radius: 0.45rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.abw-tab:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.05);
}

.abw-tab.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .abw-tab.active {
  background: rgba(37, 99, 235, 0.06);
}

.abw-tab .abw-tab-badge {
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
}

/* Output actions */
.abw-output-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.abw-action-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="light"] .abw-action-btn {
  border-color: rgba(15, 23, 42, 0.1);
}

.abw-action-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.abw-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.abw-action-btn.copied {
  border-color: #28C840;
  color: #28C840;
}

/* Revision history dropdown */
.abw-revision-wrap {
  position: relative;
}

.abw-revision-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.4rem;
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  z-index: 50;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

[data-theme="light"] .abw-revision-dropdown {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.abw-revision-dropdown.open {
  display: block;
}

.abw-revision-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

[data-theme="light"] .abw-revision-item {
  border-bottom-color: rgba(15, 23, 42, 0.04);
}

.abw-revision-item:last-child {
  border-bottom: none;
}

.abw-revision-item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--text-primary);
}

.abw-revision-item .abw-rev-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.abw-revision-item .abw-rev-info {
  flex: 1;
  min-width: 0;
}

.abw-revision-item .abw-rev-time {
  font-size: 0.68rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.abw-revision-empty {
  padding: 1.25rem 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Output body */
.abw-output-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Empty state */
.abw-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1rem;
  color: var(--text-secondary);
}

.abw-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
}

.abw-empty-state h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 0;
}

.abw-empty-state p {
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.5;
  margin: 0;
}

/* Loading state */
.abw-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 3rem 1rem;
  text-align: center;
}

.abw-loading-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.15);
  border-top-color: var(--primary);
  border-right-color: var(--accent-cyan);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.abw-loading-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.abw-loading-bar {
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  overflow: hidden;
}

.abw-loading-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-brand);
  animation: loadingBar 1.5s ease-in-out infinite;
}

@keyframes loadingBar {
  0% { width: 0%; margin-left: 0%; }
  50% { width: 60%; margin-left: 20%; }
  100% { width: 0%; margin-left: 100%; }
}

.abw-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.abw-loading-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.abw-loading-step.active {
  opacity: 1;
  color: var(--text-primary);
}

.abw-loading-step.done {
  opacity: 0.7;
  color: var(--accent-cyan);
}

.abw-loading-step .abw-step-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== Outline View ===== */
.abw-outline-view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.abw-outline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  padding-bottom: 0.75rem;
}

[data-theme="light"] .abw-outline-title {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.abw-outline-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(148, 163, 184, 0.02);
  transition: all 0.2s ease;
}

[data-theme="light"] .abw-outline-section {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.015);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.abw-outline-section:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.abw-outline-section-num {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-light);
  flex-shrink: 0;
}

.abw-outline-section-content {
  flex: 1;
  min-width: 0;
}

.abw-outline-section-content h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.2rem 0;
}

.abw-outline-section-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.abw-outline-section-status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.abw-outline-section-status .abw-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
}

.abw-outline-section-status .abw-status-dot.generated {
  background: #28C840;
}

.abw-outline-section-status .abw-status-dot.generating {
  background: var(--accent-cyan);
  animation: blink 1s ease-in-out infinite;
}

.abw-outline-section-status .abw-status-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Outline actions */
.abw-outline-actions {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

/* ===== Article View ===== */
.abw-article-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.abw-article-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  outline: none;
  transition: border-color 0.2s ease;
}

.abw-article-title:focus {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.03);
}

.abw-article-section {
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

[data-theme="light"] .abw-article-section {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.abw-article-section:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.abw-article-section.generating {
  border-color: rgba(6, 182, 212, 0.2);
}

.abw-article-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(148, 163, 184, 0.02);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

[data-theme="light"] .abw-article-section-header {
  background: rgba(15, 23, 42, 0.015);
  border-bottom-color: rgba(15, 23, 42, 0.04);
}

.abw-article-section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.abw-article-section-label .abw-section-num {
  width: 20px;
  height: 20px;
  border-radius: 0.35rem;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--primary-light);
}

.abw-article-section-tools {
  display: flex;
  gap: 0.3rem;
}

.abw-section-tool-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="light"] .abw-section-tool-btn {
  border-color: rgba(15, 23, 42, 0.08);
}

.abw-section-tool-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.abw-section-tool-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.abw-article-section-content {
  padding: 0.85rem 0.85rem;
}

.abw-article-section-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  outline: none;
  transition: border-color 0.2s ease;
}

.abw-article-section-content h3:focus {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.03);
}

.abw-article-section-content .abw-section-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.5rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  outline: none;
  transition: border-color 0.2s ease;
  min-height: 60px;
}

.abw-article-section-content .abw-section-text:focus {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.03);
  color: var(--text-primary);
}

.abw-article-section-content .abw-section-text:empty::before {
  content: attr(data-placeholder);
  color: var(--text-secondary);
  opacity: 0.4;
}

.abw-article-section-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem;
}

.abw-skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08) 25%, rgba(148, 163, 184, 0.15) 50%, rgba(148, 163, 184, 0.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.abw-skeleton-line:nth-child(1) { width: 100%; }
.abw-skeleton-line:nth-child(2) { width: 92%; }
.abw-skeleton-line:nth-child(3) { width: 85%; }
.abw-skeleton-line:nth-child(4) { width: 96%; }
.abw-skeleton-line:nth-child(5) { width: 70%; }

/* ===== SEO Insights View ===== */
.abw-seo-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Score cards */
.abw-score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.abw-score-card {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 0.85rem;
  text-align: center;
}

[data-theme="light"] .abw-score-card {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.abw-score-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
}

.abw-score-circle.high {
  background: conic-gradient(#28C840 0% var(--score, 85%), rgba(148, 163, 184, 0.1) 0%);
  color: #28C840;
}

.abw-score-circle.medium {
  background: conic-gradient(#F59E0B 0% var(--score, 65%), rgba(148, 163, 184, 0.1) 0%);
  color: #F59E0B;
}

.abw-score-circle.low {
  background: conic-gradient(#EF4444 0% var(--score, 40%), rgba(148, 163, 184, 0.1) 0%);
  color: #EF4444;
}

.abw-score-circle::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg-surface);
}

.abw-score-circle span {
  position: relative;
  z-index: 1;
}

.abw-score-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.abw-score-value {
  font-size: 0.72rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* SEO section */
.abw-seo-section {
  background: rgba(148, 163, 184, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
}

[data-theme="light"] .abw-seo-section {
  background: rgba(15, 23, 42, 0.015);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.abw-seo-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.abw-seo-section-header h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.abw-seo-section-header svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.abw-seo-section-header .abw-seo-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

/* Keyword suggestions */
.abw-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.abw-keyword-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--text-primary);
  transition: all 0.15s ease;
  cursor: pointer;
}

.abw-keyword-tag:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
}

.abw-keyword-tag .abw-kw-volume {
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.abw-keyword-tag .abw-kw-difficulty {
  font-size: 0.55rem;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
  font-weight: 600;
}

.abw-kw-difficulty.easy { background: rgba(40, 200, 64, 0.12); color: #28C840; }
.abw-kw-difficulty.medium { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.abw-kw-difficulty.hard { background: rgba(239, 68, 68, 0.12); color: #EF4444; }

/* Meta description */
.abw-meta-desc-box {
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.5;
  position: relative;
}

[data-theme="light"] .abw-meta-desc-box {
  background: rgba(37, 99, 235, 0.03);
}

.abw-meta-desc-preview {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.abw-meta-desc-preview .abw-meta-url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #28C840;
}

.abw-meta-desc-preview .abw-meta-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.abw-meta-desc-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.abw-meta-desc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

[data-theme="light"] .abw-meta-desc-actions {
  border-top-color: rgba(15, 23, 42, 0.06);
}

.abw-meta-desc-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.abw-meta-desc-counter.good { color: #28C840; }
.abw-meta-desc-counter.warn { color: #F59E0B; }

/* Internal linking suggestions */
.abw-link-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.abw-link-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(148, 163, 184, 0.02);
  transition: all 0.15s ease;
}

[data-theme="light"] .abw-link-item {
  border-color: rgba(15, 23, 42, 0.06);
  background: rgba(15, 23, 42, 0.015);
}

.abw-link-item:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.abw-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.abw-link-content {
  flex: 1;
  min-width: 0;
}

.abw-link-title {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.abw-link-anchor {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
}

.abw-link-relevance {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Plagiarism check */
.abw-plagiarism-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.abw-plagiarism-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(40, 200, 64, 0.15);
  background: rgba(40, 200, 64, 0.04);
}

[data-theme="light"] .abw-plagiarism-result {
  background: rgba(40, 200, 64, 0.03);
}

.abw-plagiarism-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: rgba(40, 200, 64, 0.1);
  border: 1px solid rgba(40, 200, 64, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #28C840;
  flex-shrink: 0;
}

.abw-plagiarism-info {
  flex: 1;
}

.abw-plagiarism-info h5 {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin: 0 0 0.15rem 0;
}

.abw-plagiarism-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.abw-plagiarism-score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #28C840;
}

.abw-plagiarism-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.4;
  padding: 0 0.25rem;
}

/* ===== Output Footer (counters) ===== */
.abw-output-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(148, 163, 184, 0.02);
  flex-wrap: wrap;
  gap: 0.5rem;
}

[data-theme="light"] .abw-output-footer {
  border-top-color: rgba(15, 23, 42, 0.06);
  background: rgba(15, 23, 42, 0.015);
}

.abw-counters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.abw-counter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.abw-counter strong {
  color: var(--text-primary);
  font-weight: 600;
}

.abw-counter .abw-counter-icon {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
}

.abw-footer-actions {
  display: flex;
  gap: 0.4rem;
}

/* ===== How To Use Section ===== */
.abw-howto-section {
  padding: 4rem 0;
  position: relative;
}

.abw-howto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.abw-howto-card {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .abw-howto-card {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.abw-howto-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .abw-howto-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.abw-howto-num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.08);
  line-height: 1;
}

[data-theme="light"] .abw-howto-num {
  color: rgba(15, 23, 42, 0.06);
}

.abw-howto-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}

.abw-howto-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.abw-howto-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== FAQ Section ===== */
.abw-faq-section {
  padding: 4rem 0;
  position: relative;
}

.abw-faq-list {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ===== Features Badge Strip ===== */
.abw-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.abw-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
}

[data-theme="light"] .abw-feature-pill {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(15, 23, 42, 0.08);
}

.abw-feature-pill svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1023px) {
  .abw-container {
    grid-template-columns: 1fr;
  }

  .abw-input-panel {
    padding: 1.25rem;
  }

  .abw-howto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Responsive: Mobile (max-width: 640px) ===== */
@media (max-width: 640px) {
  .abw-tool-section {
    padding: 6rem 0 3rem;
  }

  .abw-tool-header h2 {
    font-size: 1.5rem;
  }

  .abw-tool-header p {
    font-size: 0.88rem;
  }

  .abw-container {
    gap: 1rem;
  }

  .abw-input-panel {
    padding: 1.1rem;
  }

  .abw-output-header {
    padding: 0.75rem 0.85rem;
  }

  .abw-tabs {
    flex-wrap: wrap;
  }

  .abw-tab {
    font-size: 0.65rem;
    padding: 0.4rem 0.65rem;
  }

  .abw-output-actions {
    flex-wrap: wrap;
  }

  .abw-action-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .abw-action-btn span {
    display: none;
  }

  .abw-output-body {
    padding: 1rem;
  }

  .abw-score-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .abw-howto-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .abw-output-footer {
    padding: 0.6rem 0.85rem;
  }

  .abw-counters {
    gap: 0.6rem;
  }

  .abw-counter {
    font-size: 0.65rem;
  }

  .abw-features-strip {
    gap: 0.35rem;
  }

  .abw-feature-pill {
    font-size: 0.6rem;
    padding: 0.25rem 0.55rem;
  }
}

/* ===== Responsive: Very small phones (max-width: 358px) ===== */
@media (max-width: 358px) {
  .abw-tool-section {
    padding: 5rem 0 2.5rem;
  }

  .abw-tool-header {
    margin-bottom: 1.5rem;
  }

  .abw-tool-header h2 {
    font-size: 1.3rem;
  }

  .abw-tool-header p {
    font-size: 0.82rem;
  }

  .abw-container {
    gap: 0.75rem;
  }

  .abw-input-panel {
    padding: 1rem 0.85rem;
    gap: 1rem;
    border-radius: 1rem;
  }

  .abw-panel-header {
    padding-bottom: 0.75rem;
  }

  .abw-panel-header h3 {
    font-size: 0.88rem;
  }

  .abw-panel-header-icon {
    width: 28px;
    height: 28px;
  }

  .abw-field-label {
    font-size: 0.62rem;
  }

  .abw-textarea {
    font-size: 0.82rem;
    padding: 0.65rem 0.75rem;
    min-height: 70px;
  }

  .abw-tone-chips {
    gap: 0.3rem;
  }

  .abw-tone-chip {
    font-size: 0.6rem;
    padding: 0.3rem 0.55rem;
  }

  .abw-slider {
    height: 5px;
  }

  .abw-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
  }

  .abw-slider-value {
    font-size: 0.72rem;
    min-width: 50px;
  }

  .abw-slider-ticks {
    font-size: 0.55rem;
  }

  .abw-toggle-row {
    padding: 0.55rem 0.7rem;
  }

  .abw-toggle-label {
    font-size: 0.78rem;
  }

  .abw-toggle-desc {
    font-size: 0.65rem;
  }

  .abw-toggle-switch {
    width: 34px;
    height: 20px;
  }

  .abw-toggle-switch::after {
    width: 14px;
    height: 14px;
  }

  .abw-toggle-row.active .abw-toggle-switch::after {
    transform: translateX(14px);
  }

  .abw-model-selector {
    gap: 0.4rem;
  }

  .abw-model-btn {
    padding: 0.55rem 0.4rem;
  }

  .abw-model-btn .abw-model-name {
    font-size: 0.72rem;
  }

  .abw-model-btn .abw-model-desc {
    font-size: 0.52rem;
  }

  .abw-btn {
    font-size: 0.8rem;
    padding: 0.65rem 0.85rem;
  }

  .abw-output-panel {
    border-radius: 1rem;
    min-height: 480px;
  }

  .abw-output-header {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .abw-tab {
    font-size: 0.58rem;
    padding: 0.35rem 0.55rem;
  }

  .abw-tab .abw-tab-badge {
    font-size: 0.5rem;
  }

  .abw-action-btn {
    font-size: 0.58rem;
    padding: 0.25rem 0.4rem;
  }

  .abw-output-body {
    padding: 0.85rem;
  }

  .abw-empty-state {
    padding: 1.5rem 0.5rem;
  }

  .abw-empty-icon {
    width: 52px;
    height: 52px;
  }

  .abw-empty-state h4 {
    font-size: 0.95rem;
  }

  .abw-empty-state p {
    font-size: 0.78rem;
  }

  .abw-loading {
    padding: 2rem 0.5rem;
  }

  .abw-loading-spinner {
    width: 40px;
    height: 40px;
  }

  .abw-loading-text {
    font-size: 0.72rem;
  }

  .abw-loading-bar {
    width: 160px;
  }

  .abw-loading-step {
    font-size: 0.68rem;
  }

  .abw-outline-title {
    font-size: 1rem;
  }

  .abw-outline-section {
    padding: 0.6rem 0.7rem;
    gap: 0.5rem;
  }

  .abw-outline-section-num {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
  }

  .abw-outline-section-content h4 {
    font-size: 0.82rem;
  }

  .abw-outline-section-content p {
    font-size: 0.72rem;
  }

  .abw-article-title {
    font-size: 1.1rem;
    padding: 0.4rem 0.5rem;
  }

  .abw-article-section-content {
    padding: 0.7rem 0.65rem;
  }

  .abw-article-section-content h3 {
    font-size: 0.92rem;
  }

  .abw-article-section-content .abw-section-text {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .abw-section-tool-btn {
    font-size: 0.62rem;
    padding: 0.2rem 0.4rem;
  }

  .abw-score-card {
    padding: 0.85rem 0.65rem;
  }

  .abw-score-circle {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }

  .abw-score-label {
    font-size: 0.55rem;
  }

  .abw-seo-section {
    padding: 0.85rem 0.85rem;
  }

  .abw-seo-section-header h4 {
    font-size: 0.82rem;
  }

  .abw-keyword-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }

  .abw-meta-desc-box {
    padding: 0.65rem 0.7rem;
  }

  .abw-meta-desc-preview .abw-meta-title {
    font-size: 0.85rem;
  }

  .abw-meta-desc-text {
    font-size: 0.75rem;
  }

  .abw-link-item {
    padding: 0.5rem 0.6rem;
    gap: 0.45rem;
  }

  .abw-link-title {
    font-size: 0.75rem;
  }

  .abw-plagiarism-result {
    padding: 0.7rem 0.75rem;
    gap: 0.5rem;
  }

  .abw-plagiarism-icon {
    width: 32px;
    height: 32px;
  }

  .abw-plagiarism-info h5 {
    font-size: 0.8rem;
  }

  .abw-plagiarism-info p {
    font-size: 0.7rem;
  }

  .abw-plagiarism-score {
    font-size: 1.25rem;
  }

  .abw-output-footer {
    padding: 0.5rem 0.75rem;
  }

  .abw-counters {
    gap: 0.4rem;
  }

  .abw-counter {
    font-size: 0.58rem;
  }

  .abw-features-strip {
    gap: 0.3rem;
  }

  .abw-feature-pill {
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
  }

  .abw-howto-section {
    padding: 3rem 0;
  }

  .abw-howto-card {
    padding: 1.25rem 1rem;
  }

  .abw-howto-card h3 {
    font-size: 0.9rem;
  }

  .abw-howto-card p {
    font-size: 0.8rem;
  }

  .abw-faq-section {
    padding: 3rem 0;
  }
}
