/* Tool-specific styles only - base styles are in tool-layout.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #e5e7eb;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #141414;
    border-bottom: 1px solid #374151;
    z-index: 100;
}

    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

    margin-top: 60px;
    padding: 48px 24px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    max-width: 720px;
    margin: 0 auto;
}

.tool-main {
    flex: 1;
    padding: 32px 24px 120px;
}

.tool-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group > label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.file-upload-zone {
    background-color: #0a0a0a;
    border: 2px dashed #374151;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: all 150ms ease;
    position: relative;
    outline: none;
}

.file-upload-zone.has-error {
    border-color: #dc2626;
    background-color: #7f1d1d;
}

.upload-icon {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.7;
    color: #6b7280;
    letter-spacing: 2px;
}

.upload-primary {
    font-size: 16px;
    font-weight: 400;
    color: #e5e7eb;
    margin-bottom: 4px;
}

.upload-secondary {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.file-info-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    min-width: 0;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    word-break: break-all;
}

.file-dimensions {
    font-size: 13px;
    color: #9ca3af;
}

.file-size {
    font-size: 13px;
    color: #9ca3af;
}

.canvas-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.canvas-container {
    position: relative;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.canvas-container canvas {
    display: block;
    max-width: 100%;
    cursor: default;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 16px;
}

.layers-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.layers-section .section-title {
    margin-bottom: 4px;
}

.layer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 150ms ease;
}

.layer-card:hover {
    background-color: #222222;
}

.layer-card.selected {
    border-color: #3b82f6;
    background-color: #1a2744;
}

.layer-drag-handle {
    color: #6b7280;
    cursor: grab;
    font-size: 14px;
    flex-shrink: 0;
    padding: 0 2px;
    user-select: none;
}

.layer-drag-handle:active {
    cursor: grabbing;
}

.layer-info {
    flex: 1;
    min-width: 0;
}

.layer-name {
    font-size: 13px;
    font-weight: 500;
    color: #e5e7eb;
}

.layer-preview {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

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

.layer-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    border-radius: 4px;
    transition: color 150ms ease;
    line-height: 1;
}

.layer-btn:hover {
    color: #e5e7eb;
}

.layer-btn.visibility-off {
    color: #374151;
}

.layer-btn.delete-btn:hover {
    color: #ef4444;
}

.button-add-layer {
    margin-top: 4px;
    width: 100%;
}

.controls-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.controls-section .section-title {
    margin-bottom: 0;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group > label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-hint {
    font-size: 12px;
    color: #6b7280;
}

.control-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-row > label {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.sub-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    margin-top: 4px;
}

.textarea-input {
    background-color: #1a1a1a;
    border: 1px solid #374151;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
    transition: border-color 150ms ease;
}

.textarea-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.textarea-input::placeholder {
    color: #6b7280;
}

.font-selector {
    position: relative;
}

.font-selector-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 150ms ease;
    text-align: left;
}

.font-selector-trigger:hover {
    border-color: #4b5563;
}

.font-selector-trigger:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    outline: none;
}

.font-selector-arrow {
    color: #9ca3af;
    font-size: 12px;
    transition: transform 150ms ease;
}

.font-selector.open .font-selector-arrow {
    transform: rotate(180deg);
}

.font-selector-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 8px;
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.font-search-container {
    padding: 8px;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    background-color: #1a1a1a;
    z-index: 1;
}

.font-search-input {
    width: 100%;
    padding: 8px 12px;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 150ms ease;
}

.font-search-input:focus {
    border-color: #3b82f6;
}

.font-search-input::placeholder {
    color: #6b7280;
}

.font-list-section {
    padding: 8px 0;
}

.font-list-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.font-list {
    display: flex;
    flex-direction: column;
}

.font-list-scrollable {
    max-height: 200px;
    overflow-y: auto;
}

.font-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: #e5e7eb;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background-color 100ms ease;
}

.font-option:hover {
    background-color: #2a2a2a;
}

.font-option.active {
    background-color: #1e3a8a;
    color: #ffffff;
}

.slider-with-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-with-input .slider {
    flex: 1;
}

input[type="range"].slider {
    width: 100%;
    height: 4px;
    background-color: #374151;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: block;
}

input[type="range"].slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"].slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

input[type="range"].slider:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.number-input {
    width: 64px;
    padding: 6px 8px;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    text-align: center;
    outline: none;
    flex-shrink: 0;
    -moz-appearance: textfield;
}

.number-input::-webkit-inner-spin-button,
.number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input:focus {
    border-color: #3b82f6;
}

.slider-unit {
    font-size: 13px;
    color: #6b7280;
    flex-shrink: 0;
    width: 24px;
}

.segmented-control {
    display: flex;
    gap: 0;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    overflow: hidden;
}

.segment-btn {
    flex: 1;
    padding: 8px 12px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 150ms ease;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.segment-btn + .segment-btn {
    border-left: 1px solid #374151;
}

.segment-btn:hover {
    background-color: #2a2a2a;
    color: #e5e7eb;
}

.segment-btn.active {
    background-color: #3b82f6;
    color: #ffffff;
}

.segmented-control-small .segment-btn {
    padding: 6px 8px;
    font-size: 12px;
}

.toggle-group {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    padding: 8px 16px;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 150ms ease;
}

.toggle-btn:hover {
    background-color: #2a2a2a;
    color: #e5e7eb;
}

.toggle-btn.active {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.color-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-picker {
    width: 40px;
    height: 40px;
    border: 1px solid #374151;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 2px;
    flex-shrink: 0;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.color-picker::-moz-color-swatch {
    border: none;
    border-radius: 4px;
}

.hex-input {
    width: 90px;
    padding: 8px 12px;
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 14px;
    font-family: 'Lucida Console', monospace;
    outline: none;
    transition: border-color 150ms ease;
}

.hex-input:focus {
    border-color: #3b82f6;
}

.color-swatches {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.swatch {
    width: 28px;
    height: 28px;
    border: 2px solid #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 150ms ease;
    padding: 0;
}

.swatch:hover {
    transform: scale(1.15);
    border-color: #6b7280;
}

.swatch.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.switch-text {
    font-size: 14px;
    font-weight: 400;
    color: #e5e7eb;
}

.switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #374151;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.switch-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #e5e7eb;
    border-radius: 50%;
    transition: transform 150ms ease;
}

.switch input:checked + .switch-slider {
    background-color: #3b82f6;
}

.switch input:checked + .switch-slider::after {
    transform: translateX(20px);
}

.select-input {
    background-color: #1a1a1a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    transition: border-color 150ms ease;
}

.select-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.select-input option {
    background-color: #1a1a1a;
}

.output-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.output-settings .section-title {
    margin-bottom: 0;
}

.button-primary {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease;
    text-align: center;
    width: 100%;
}

.button-secondary {
    background-color: #1a1a1a;
    color: #e5e7eb;
    border: 1px solid #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 150ms ease;
    text-align: center;
}

.button-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    flex-shrink: 0;
}

.button-download {
    background-color: #059669;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease;
    text-align: center;
    width: 100%;
}

.pro-badge {
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1.2;
}

.output-section {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.output-header h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    color: #d1d5db;
}

.result-preview {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.result-preview img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
}

.result-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    justify-content: center;
}

.result-dimensions,
.result-size,
.result-format {
    font-size: 13px;
    color: #9ca3af;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.processing-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #374151;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-text {
    font-size: 14px;
    color: #9ca3af;
}

.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background-color: #374151;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 2px;
    width: 0%;
    transition: width 200ms ease;
}

.error-message {
    background-color: #7f1d1d;
    border: 1px solid #dc2626;
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.pro-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.pro-cta-text {
    font-size: 14px;
    color: #d1d5db;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 24px;
}

.modal-overlay.modal-hidden {
    display: none;
}

.modal-overlay.modal-visible {
    display: flex;
}

.modal {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 0;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #e5e7eb;
}

.modal-content {
    padding: 24px;
}

.modal-feature-name {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.pro-features-list {
    margin-bottom: 24px;
}

.pro-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature-check {
    width: 20px;
    height: 20px;
    background-color: #059669;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #e5e7eb;
}

.modal-cta {
    width: 100%;
    display: block;
}

.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #374151;
    padding: 32px 24px;
    text-align: center;
    margin-top: auto;
}

.footer p {
    font-size: 14px;
    color: #6b7280;
}

.modal-hidden {
    display: none;
}

@media (max-width: 768px) {
        padding: 32px 16px;
    }

        font-size: 28px;
        line-height: 36px;
    }

        font-size: 14px;
    }

    .tool-main {
        padding: 24px 16px 100px;
    }

    .tool-container {
        gap: 32px;
    }

    .layers-section,
    .controls-section,
    .output-settings {
        padding: 16px;
    }

    .output-section {
        padding: 16px;
    }

    .file-upload-zone {
        padding: 32px 16px;
    }

    .file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .button-small {
        width: 100%;
    }

    .segmented-control-small .segment-btn {
        padding: 6px 4px;
        font-size: 11px;
    }

    .pro-cta-content {
        flex-direction: column;
        gap: 10px;
    }

        padding: 0 16px;
    }

    .font-selector-dropdown {
        max-height: 300px;
    }

    .result-preview img {
        max-height: 280px;
    }
}

@media (max-width: 480px) {
    .color-swatches {
        flex-wrap: wrap;
    }

    .slider-with-input {
        gap: 8px;
    }

    .number-input {
        width: 56px;
    }
}

/* Pro Features Upsell Section */
.pro-features-section {
    margin-top: var(--space-xl, 48px);
    padding: var(--space-xl, 48px) var(--space-lg, 24px);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-lg, 12px);
}

.pro-features-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-lg, 24px);
}

.pro-features-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
    margin: 0;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md, 16px);
}

.pro-feature-card {
    background: var(--bg-secondary, #141414);
    border: 1px solid var(--border-default, #374151);
    border-radius: var(--radius-md, 8px);
    padding: var(--space-lg, 24px);
}

.pro-feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
    margin: 0 0 8px 0;
}

.pro-feature-card p {
    font-size: 14px;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.5;
    margin: 0;
}

/* Similar Tools Section */
.similar-tools {
    margin-top: var(--space-xl, 48px);
    padding: var(--space-xl, 48px) 0;
}

.similar-tools h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
    margin: 0 0 var(--space-lg, 24px) 0;
}

.similar-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md, 16px);
}

.similar-tool-card {
    display: block;
    background: var(--bg-secondary, #141414);
    border: 1px solid var(--border-default, #374151);
    border-radius: var(--radius-md, 8px);
    padding: var(--space-lg, 24px);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.similar-tool-card:hover {
    border-color: var(--border-hover, #4b5563);
    transform: translateY(-2px);
}

.similar-tool-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
    margin: 0 0 8px 0;
}

.similar-tool-card p {
    font-size: 14px;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 640px) {
    .pro-features-grid,
    .similar-tools-grid {
        grid-template-columns: 1fr;
    }
}