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

.hero-header {
    background: #0a0a0a;
    padding: 48px 0;
    text-align: center;
    border-bottom: 1px solid #374151;
}

.hero-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.hero-header p {
    font-size: 18px;
    color: #9ca3af;
    margin: 0;
}

.tool-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

.format-tabs {
    display: flex;
    gap: 8px;
}

.tab-button {
    padding: 8px 16px;
    border: 1px solid #374151;
    background: #1a1a1a;
    color: #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
}

.tab-button:hover {
    background: #374151;
}

.tab-button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.input-section {
    margin-bottom: 48px;
}

.input-controls {
    margin-bottom: 16px;
}

.control-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#input-text,
#output-text {
    width: 100%;
    min-height: 300px;
    padding: 16px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #e5e7eb;
    font-family: 'SF Mono', Consolas, Monaco, 'Liberation Mono', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

#input-text:focus,
#output-text:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#input-text::placeholder,
#output-text::placeholder {
    color: #6b7280;
}

#output-text {
    background: #0f1419;
}

.output-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #374151;
    border-radius: 12px;
    transition: background-color 150ms ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: transform 150ms ease;
}

.toggle-container input:checked + .toggle-slider {
    background: #3b82f6;
}

.toggle-container input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.toggle-container input {
    display: none;
}

.toggle-label {
    font-size: 14px;
    color: #d1d5db;
    font-weight: 500;
}

.output-container {
    position: relative;
}

.error-display {
    display: none;
    background: #7f1d1d;
    border: 1px solid #dc2626;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 60px;
    color: #fca5a5;
    font-size: 14px;
    line-height: 1.5;
}

.error-display.visible {
    display: block;
}

.error-display::before {
    content: '⚠';
    margin-right: 8px;
    font-weight: 600;
}

.pro-features-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid #374151;
}

.pro-feature-card {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.pro-feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.pro-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pro-feature-card li {
    padding: 8px 0;
    color: #d1d5db;
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.pro-feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.primary-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
}

.primary-btn:hover {
    background: #2563eb;
}

.primary-btn:active {
    background: #1d4ed8;
}

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

.secondary-btn:hover {
    background: #374151;
}

.pro-btn {
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-btn:hover {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transform: translateY(-1px);
}

.crown-icon {
    font-size: 14px;
}

.pro-cta-btn {
    color: #0a0a0a;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms ease;
}

.pro-cta-btn:hover {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 28px;
    }
    
    .hero-header p {
        font-size: 16px;
    }
    
    .tool-container {
        padding: 24px 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .format-tabs {
        align-self: center;
    }
    
    .output-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .control-row {
        flex-direction: column;
    }
    
    .pro-cta-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .pro-cta-bar .pro-cta-btn {
        align-self: center;
    }
    
    .bug-report-btn {
        bottom: 20px;
        left: 20px;
        right: auto;
    }
    
    #input-text,
    #output-text {
        min-height: 250px;
        font-size: 13px;
    }
}